提交 16d0c2d3 编写于 作者: C coolfishchen 提交者: ob-robot

fix core of ob_table_load_mem_compactor

上级 8a11d33b
......@@ -547,8 +547,8 @@ int ObTableLoadMemCompactor::handle_compact_task_finish(int ret_code)
int ret = OB_SUCCESS;
if (OB_FAIL(ret_code)) {
} else {
const int64_t finish_task_count = ATOMIC_AAF(&finish_task_count_, 1);
int64_t task_to_wait = param_->session_count_ + 1; // one for sample task
const int64_t finish_task_count = ATOMIC_AAF(&finish_task_count_, 1);
if (task_to_wait == finish_task_count) {
if (OB_LIKELY(!(mem_ctx_.has_error_)) && OB_FAIL(start_finish())) {
LOG_WARN("fail to start finish", KR(ret));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册