From 403837458739f89caecd420ca2cdcea6bee32e93 Mon Sep 17 00:00:00 2001 From: LLThomas Date: Fri, 26 Nov 2021 11:21:32 +0800 Subject: [PATCH] fix mispelled cancel (#577) --- src/election/ob_election_timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/election/ob_election_timer.cpp b/src/election/ob_election_timer.cpp index 6a621759b1..272fbe9266 100644 --- a/src/election/ob_election_timer.cpp +++ b/src/election/ob_election_timer.cpp @@ -587,7 +587,7 @@ int ObElectionTimer::register_change_leader_once(const int64_t run_time_expect, } } if (OB_SUCC(ret)) { - // cencel registered gt4 task when register change leader task, avoid state resetted in gt4 + // cancel registered gt4 task when register change leader task, avoid state resetted in gt4 int tmp_ret = OB_SUCCESS; if (OB_SUCCESS != (tmp_ret = unregister_gt_(gt4_))) { ELECT_ASYNC_LIMIT_LOG(