diff --git a/src/braft/raft.h b/src/braft/raft.h index 8a7f5d8e..cb80163a 100644 --- a/src/braft/raft.h +++ b/src/braft/raft.h @@ -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; @@ -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;