Просмотр исходного кода

Merge pull request #9405 from jpbetz/automated-cherry-pick-of-#9347-origin-release-3.2

Automated cherry pick of #9347
Gyuho Lee 7 лет назад
Родитель
Сommit
fe90bc448c
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      etcdserver/raft.go

+ 1 - 0
etcdserver/raft.go

@@ -498,6 +498,7 @@ func restartAsStandaloneNode(cfg *ServerConfig, snapshot *raftpb.Snapshot) (type
 		Storage:         s,
 		MaxSizePerMsg:   maxSizePerMsg,
 		MaxInflightMsgs: maxInflightMsgs,
+		CheckQuorum:     true,
 	}
 	n := raft.RestartNode(c)
 	raftStatus = n.Status