From 69970f4d28da955dba0cf95f679271805aa784ff Mon Sep 17 00:00:00 2001 From: ligen131 <61000196+ligen131@users.noreply.github.com> Date: Mon, 29 Nov 2021 19:49:36 +0800 Subject: [PATCH] fixed misspelled words oceanbase#273 (#589) --- src/election/ob_election_priority.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/election/ob_election_priority.cpp b/src/election/ob_election_priority.cpp index 1da669ae7..1ddaf7798 100644 --- a/src/election/ob_election_priority.cpp +++ b/src/election/ob_election_priority.cpp @@ -63,7 +63,7 @@ int ObElectionPriority::compare_without_logid(const ObElectionPriority& priority /* function:compare_with_buffered_logid * features:compare election priority with log_id(imprecise),used when count valid_candidates,allow caller's log behind - * in a range(50000) limits :this function can only called from follower_prioriy, arg setted as leader_priority + * in a range(50000) limits :this function can only called from follower_priority, arg setted as leader_priority */ int ObElectionPriority::compare_with_buffered_logid(const ObElectionPriority& priority) const { @@ -81,7 +81,7 @@ int ObElectionPriority::compare_with_buffered_logid(const ObElectionPriority& pr } /* function:compare_with_accurate_logid - * function:compare election priority with log_id(precise), used in decentralized voting, for elecing a highest priority + * function:compare election priority with log_id(precise), used in decentralized voting, for electing a highest priority * leader. */ int ObElectionPriority::compare_with_accurate_logid(const ObElectionPriority& priority) const