IsExtSnapshotStreamingStateTrue returns whether the server is in import mode or not
()
| 45 | |
| 46 | // IsExtSnapshotStreamingStateTrue returns whether the server is in import mode or not |
| 47 | func 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 |
no outgoing calls
no test coverage detected