提交 a0978c20 编写于 作者: Z zh0 提交者: wangzelin.wzl

fix rollback fail bug

上级 53b1e663
......@@ -1059,6 +1059,9 @@ int ObTransService::end_trans(
if (is_rollback && OB_TRANS_TIMEOUT == ret) {
if (OB_UNLIKELY(OB_SUCCESS != (tmp_ret = end_trans_callback_(cb, OB_SUCCESS, tenant_id)))) {
ret = tmp_ret;
} else {
// overwrite retcode when rollback timeout
ret = OB_SUCCESS;
}
} else {
if (OB_UNLIKELY(OB_SUCCESS != (tmp_ret = end_trans_callback_(cb, ret, tenant_id)))) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册