提交 2d58c1fc 编写于 作者: Y YoungYang0820 提交者: wangzelin.wzl

fix write_sync_tablet_seq_log overwrite ret_code on failure

上级 d41e77d2
......@@ -2089,9 +2089,7 @@ int ObTablet::write_sync_tablet_seq_log(ObTabletAutoincSeq &autoinc_seq,
ret = OB_TIMEOUT;
LOG_WARN("submit sync tablet seq log timeout", K(ret));
} else if (cb->is_failed()) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("submit sync tablet seq log failed", K(ret));
} else if (OB_FAIL(cb->get_ret_code())) {
ret = cb->get_ret_code();
LOG_WARN("submit sync tablet seq log failed", K(ret));
} else {
int64_t wait_time = ObTimeUtility::fast_current_time() - start_time;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册