diff --git a/src/storage/memtable/ob_memtable_context.cpp b/src/storage/memtable/ob_memtable_context.cpp index 4b63f8bec4050f29fd7edbe9ad105866de65178f..07b98d9ea5fc8526928d5a516ff57e431cc5bb2d 100644 --- a/src/storage/memtable/ob_memtable_context.cpp +++ b/src/storage/memtable/ob_memtable_context.cpp @@ -795,6 +795,7 @@ int ObMemtableCtx::do_trans_end(const bool commit, const int64_t trans_version, if (OB_UNLIKELY(ATOMIC_LOAD(&callback_alloc_count_) != ATOMIC_LOAD(&callback_free_count_))) { TRANS_LOG(ERROR, "callback alloc and free count not match", K(*this)); } + (void)partition_audit_info_cache_.stmt_end_update_audit_info(commit); // flush partition audit statistics cached in ctx to partition if (NULL != ATOMIC_LOAD(&ctx_) && OB_UNLIKELY(OB_SUCCESS != (tmp_ret = flush_audit_partition_cache_(commit)))) { TRANS_LOG(WARN, "flush audit partition cache error", K(tmp_ret), K(commit), K(*ctx_));