We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f61de99 commit a434761Copy full SHA for a434761
1 file changed
pkg/raft/election.go
@@ -300,10 +300,10 @@ func (d *DynamicLeaderElection) IsRunning() bool {
300
type syncResult int
301
302
const (
303
- syncResultSynced syncResult = iota // block store is within 1 block of raft FSM
304
- syncResultTimeout // deadline elapsed and store still lagging
305
- syncResultLostLeadership // lost leadership while waiting
306
- syncResultCanceled // context was canceled
+ syncResultSynced syncResult = iota // block store is within 1 block of raft FSM
+ syncResultTimeout // deadline elapsed and store still lagging
+ syncResultLostLeadership // lost leadership while waiting
+ syncResultCanceled // context was canceled
307
)
308
309
// waitForBlockStoreSync polls IsSynced until the block store is within 1 block
0 commit comments