Skip to content

Commit

Permalink
typo: src/handle_commit.cxx fix to current idx; issue #533 (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
rockett-m authored Sep 18, 2024
1 parent 0a754e0 commit ea1385e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handle_commit.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ bool raft_server::commit_in_bg_exec(size_t timeout_ms) {
ea_sm_commit_exec_in_progress_->invoke();
});

p_db( "commit upto %" PRIu64 ", curruent idx %" PRIu64,
p_db( "commit upto %" PRIu64 ", current idx %" PRIu64,
quick_commit_index_.load(), sm_commit_index_.load() );

ulong log_start_idx = log_store_->start_index();
Expand Down Expand Up @@ -267,7 +267,7 @@ bool raft_server::commit_in_bg_exec(size_t timeout_ms) {
index_to_commit);
}
}
p_db( "DONE: commit upto %" PRIu64 ", curruent idx %" PRIu64,
p_db( "DONE: commit upto %" PRIu64 ", current idx %" PRIu64,
quick_commit_index_.load(), sm_commit_index_.load() );
if (role_ == srv_role::follower) {
ulong leader_idx = leader_commit_index_.load();
Expand Down

0 comments on commit ea1385e

Please sign in to comment.