Skip to content

Commit

Permalink
[fix][mow] free _memtable_flush_executor and _calc_delete_bitmap_exec…
Browse files Browse the repository at this point in the history
…utor resource before stop CloudStorageEngine
  • Loading branch information
hust-hhb committed Apr 19, 2024
1 parent dd470f3 commit 5e1320e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions be/src/cloud/cloud_storage_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ void CloudStorageEngine::stop() {
t->join();
}
}
_memtable_flush_executor.reset(nullptr);
_calc_delete_bitmap_executor.reset(nullptr);
LOG(INFO) << "Storage engine is stopped.";
}

bool CloudStorageEngine::stopped() {
Expand Down

0 comments on commit 5e1320e

Please sign in to comment.