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

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