Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: glorv <[email protected]>
  • Loading branch information
glorv committed Mar 28, 2024
1 parent ad21817 commit fe3c13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raft_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub struct RaftLog<T: Storage> {
/// on a quorum of nodes.
///
/// Invariant: applied <= committed
/// NOTE: this invariant can be break after restart if `max_apply_unpersisted_log_limit` is 0,
/// NOTE: this invariant can be break after restart if `max_apply_unpersisted_log_limit` > 0,
/// but once the committed catches up with applied, it should never fall behind again.
pub committed: u64,

Expand Down

0 comments on commit fe3c13c

Please sign in to comment.