From 0db04a38a5efc850003a289b1d1dde308c12a7ad Mon Sep 17 00:00:00 2001 From: Andrei Matei Date: Sun, 12 Apr 2020 22:44:37 -0400 Subject: [PATCH] raft: minor comment fix in confchange --- raft/confchange/restore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raft/confchange/restore.go b/raft/confchange/restore.go index 724068da0..343478def 100644 --- a/raft/confchange/restore.go +++ b/raft/confchange/restore.go @@ -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) // // 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) // are no longer voters; however 4 is poised to become a learner upon leaving // the joint state.