فهرست منبع

Merge pull request #6825 from gyuho/new

etcdserver: increase maxGapBetweenApplyAndCommitIndex
Gyu-Ho Lee 9 سال پیش
والد
کامیت
9c7a0a68e5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      etcdserver/v3_server.go

+ 1 - 1
etcdserver/v3_server.go

@@ -47,7 +47,7 @@ const (
 	// the applied index and committed index.
 	// 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.
-	maxGapBetweenApplyAndCommitIndex = 1000
+	maxGapBetweenApplyAndCommitIndex = 5000
 )
 
 var (