etcdserver: fix spell errors
parent
6b671b88dc
commit
4d3b281369
|
@ -92,7 +92,7 @@ type serverWatchStream struct {
|
||||||
mu sync.Mutex
|
mu sync.Mutex
|
||||||
// progress tracks the watchID that stream might need to send
|
// progress tracks the watchID that stream might need to send
|
||||||
// progress to.
|
// progress to.
|
||||||
// TOOD: combine progress and prevKV into a single struct?
|
// TODO: combine progress and prevKV into a single struct?
|
||||||
progress map[mvcc.WatchID]bool
|
progress map[mvcc.WatchID]bool
|
||||||
prevKV map[mvcc.WatchID]bool
|
prevKV map[mvcc.WatchID]bool
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ const (
|
||||||
maxV3RequestTimeout = 5 * time.Second
|
maxV3RequestTimeout = 5 * time.Second
|
||||||
|
|
||||||
// In the health case, there might be a small gap (10s of entries) between
|
// In the health case, there might be a small gap (10s of entries) between
|
||||||
// the applied index and commited index.
|
// the applied index and committed index.
|
||||||
// However, if the committed entries are very heavy to apply, the gap might grow.
|
// However, if the committed entries are very heavy to apply, the gap might grow.
|
||||||
// We should stop accepting new proposals if the gap growing to a certain point.
|
// We should stop accepting new proposals if the gap growing to a certain point.
|
||||||
maxGapBetweenApplyAndCommitIndex = 1000
|
maxGapBetweenApplyAndCommitIndex = 1000
|
||||||
|
|
Loading…
Reference in New Issue