mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft: minor comment fix in confchange
This commit is contained in:
parent
59f5fb25a5
commit
0db04a38a5
@ -28,7 +28,7 @@ func toConfChangeSingle(cs pb.ConfState) (out []pb.ConfChangeSingle, in []pb.Con
|
|||||||
// voters=(1 2 3) learners=(5) outgoing=(1 2 4 6) learners_next=(4)
|
// voters=(1 2 3) learners=(5) outgoing=(1 2 4 6) learners_next=(4)
|
||||||
//
|
//
|
||||||
// This means that before entering the joint config, the configuration
|
// This means that before entering the joint config, the configuration
|
||||||
// had voters (1 2 4) and perhaps some learners that are already gone.
|
// had voters (1 2 4 6) and perhaps some learners that are already gone.
|
||||||
// The new set of voters is (1 2 3), i.e. (1 2) were kept around, and (4 6)
|
// The new set of voters is (1 2 3), i.e. (1 2) were kept around, and (4 6)
|
||||||
// are no longer voters; however 4 is poised to become a learner upon leaving
|
// are no longer voters; however 4 is poised to become a learner upon leaving
|
||||||
// the joint state.
|
// the joint state.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user