fix BCAS not judging the return value

This commit is contained in:
obdev 2022-10-26 14:58:52 +08:00 committed by wangzelin.wzl
parent 3750fc405d
commit 3b60c27e30

View File

@ -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_));
}