提交 3b60c27e 编写于 作者: O obdev 提交者: wangzelin.wzl

fix BCAS not judging the return value

上级 3750fc40
......@@ -257,7 +257,7 @@ int ObIDService::flush(int64_t rec_log_ts)
if (OB_FAIL(update_ls_id_meta(true))) {
TRANS_LOG(WARN, "update id meta of ls meta fail", K(ret), K(service_type_));
} else {
ATOMIC_BCAS(&rec_log_ts_, latest_rec_log_ts, INT_MAX64);
(void)ATOMIC_BCAS(&rec_log_ts_, latest_rec_log_ts, INT_MAX64);
}
TRANS_LOG(INFO, "flush", K(ret), K(service_type_), K(rec_log_ts_), K(limited_id_));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册