提交 0a044c27 编写于 作者: O obdev 提交者: wangzelin.wzl

fix the temporary scheduler was mistakenly started the hb service

上级 c71cd910
......@@ -2115,6 +2115,8 @@ int ObXACtx::try_heartbeat()
const int64_t now = ObTimeUtility::current_time();
if (original_sche_addr_ != GCTX.self_addr()) {
// temproray scheduler, do nothing
} else if (OB_ISNULL(xa_branch_info_) && xa_trans_state_ > ObXATransState::IDLE) {
// do nothing
} else if (OB_ISNULL(xa_branch_info_)) {
ret = OB_ERR_UNEXPECTED;
TRANS_LOG(ERROR, "unexpected branch count", K(ret), K(*this));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册