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

Automated cherry pick of #9347
This commit is contained in:
Gyuho Lee 2018-03-08 00:59:26 -08:00 committed by GitHub
commit fe90bc448c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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