MCPcopy
hub / github.com/ha/doozerd / Store

Struct Store

src/pkg/store/store.go:43–55  ·  view source on GitHub ↗

Applies mutations sent on Ops in sequence according to field Seqn. Any errors that occur will be written to ErrorPath. Duplicate operations at a given position are sliently ignored.

Source from the content-addressed store, hash-verified

41// errors that occur will be written to ErrorPath. Duplicate operations at a
42// given position are sliently ignored.
43type Store struct {
44 Ops chan<- Op
45 Seqns <-chan int64
46 Waiting <-chan int
47 watchCh chan *watch
48 watches []*watch
49 todo *vector.Vector
50 state *state
51 head int64
52 log map[int64]Event
53 cleanCh chan int64
54 flush chan bool
55}
56
57// Represents an operation to apply to the store at position Seqn.
58//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected