Skip to content

Commit

Permalink
Merge pull request #345 from mamil/fix-typo-patch-1
Browse files Browse the repository at this point in the history
fix-typo
  • Loading branch information
PFZheng committed Feb 6, 2024
2 parents 3c52804 + 3c35bfc commit 080689b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/braft/raft.h
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ struct NodeStatus {
// If the value is 0, means no pending logs.
//
// WARNING: if this value is not 0, and keep the same in a long time,
// means something happend to prevent the node to commit logs in a
// means something happened to prevent the node to commit logs in a
// large probability, and users should check carefully to find out
// the reasons.
int64_t pending_index;
Expand All @@ -410,7 +410,7 @@ struct NodeStatus {
// The current applying index. If the value is 0, means no applying log.
//
// WARNING: if this value is not 0, and keep the same in a long time, means
// the apply thread hung, users should check if a deadlock happend, or some
// the apply thread hung, users should check if a deadlock happened, or some
// time-consuming operations is handling in place.
int64_t applying_index;

Expand Down

0 comments on commit 080689b

Please sign in to comment.