Browse Source

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

Automated cherry pick of #9347
Gyuho Lee 7 years ago
parent
commit
fe90bc448c
1 changed files with 1 additions and 0 deletions
  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,
 		Storage:         s,
 		MaxSizePerMsg:   maxSizePerMsg,
 		MaxSizePerMsg:   maxSizePerMsg,
 		MaxInflightMsgs: maxInflightMsgs,
 		MaxInflightMsgs: maxInflightMsgs,
+		CheckQuorum:     true,
 	}
 	}
 	n := raft.RestartNode(c)
 	n := raft.RestartNode(c)
 	raftStatus = n.Status
 	raftStatus = n.Status