diff --git a/src/traft/mod.rs b/src/traft/mod.rs index 5a626cd263f42ad1a335c4f029aaffe6bd50eaba..3b4ffb4f7dc7f1d582b43655575d7189e7462b1f 100644 --- a/src/traft/mod.rs +++ b/src/traft/mod.rs @@ -178,7 +178,8 @@ pub struct Peer { pub replicaset_id: String, pub replicaset_uuid: String, - /// Index in the raft log. `0` means it's not committed yet. + /// Index of the most recent raft log entry that persisted this peer. + /// `0` means it's not committed yet. pub commit_index: u64, /// The state of this instance's activity.