MCPcopy
hub / github.com/uber/aresdb / bootstrapManagerImpl

Struct bootstrapManagerImpl

datanode/bootstrap_manager.go:35–47  ·  view source on GitHub ↗

bootstrapManagerImpl is the implementation of the interface databaseBootstrapManager

Source from the content-addressed store, hash-verified

33
34// bootstrapManagerImpl is the implementation of the interface databaseBootstrapManager
35type bootstrapManagerImpl struct {
36 sync.RWMutex
37
38 opts bootstrap.Options
39 origin string
40 peerSource client.PeerSource
41 bootstrapable bootstrap.Bootstrapable
42 state bootstrap.BootstrapState
43 hasPending bool
44 bootstrapTableShards map[string]bootstrap.BootstrapDetails
45 lastBootstrapCompletionTime time.Time
46 topo topology.Topology
47}
48
49// NewBootstrapManager creates bootstrap manager
50func NewBootstrapManager(origin string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected