[fix](group_commit) Fix group_commit ut (#29587)

This commit is contained in:
huanghaibin
2024-01-06 18:11:13 +08:00
committed by GitHub
parent 2adb0fcc50
commit 85dd606fd1
2 changed files with 41 additions and 16 deletions

View File

@ -521,6 +521,7 @@ void ExecEnv::destroy() {
_s_ready = false;
SAFE_STOP(_wal_manager);
_wal_manager.reset();
SAFE_STOP(_tablet_schema_cache);
SAFE_STOP(_load_channel_mgr);
SAFE_STOP(_scanner_scheduler);
@ -560,7 +561,6 @@ void ExecEnv::destroy() {
// Free resource after threads are stopped.
// Some threads are still running, like threads created by _new_load_stream_mgr ...
_wal_manager.reset();
SAFE_DELETE(_s3_buffer_pool);
SAFE_DELETE(_tablet_schema_cache);
_deregister_metrics();