MCPcopy
hub / github.com/dgraph-io/dgraph / IsExtSnapshotStreamingStateTrue

Function IsExtSnapshotStreamingStateTrue

x/health.go:47–49  ·  view source on GitHub ↗

IsExtSnapshotStreamingStateTrue returns whether the server is in import mode or not

()

Source from the content-addressed store, hash-verified

45
46// IsExtSnapshotStreamingStateTrue returns whether the server is in import mode or not
47func IsExtSnapshotStreamingStateTrue() bool {
48 return atomic.LoadUint32(&extSnapshotStreamingState) == 1
49}
50
51// HealthCheck returns whether the server is ready to accept requests or not
52// Load balancer would add the node to the endpoint once health check starts

Callers 2

waitForExtSnapshotArmedFunction · 0.92
applyCommittedMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected