未验证 提交 40383745 编写于 作者: L LLThomas 提交者: GitHub

fix mispelled cancel (#577)

上级 bf976761
......@@ -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(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册