raft: minor comment fix in confchange

This commit is contained in:
Andrei Matei 2020-04-12 22:44:37 -04:00
parent 59f5fb25a5
commit 0db04a38a5

View File

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