Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
hust-hhb committed Dec 21, 2023
1 parent eaa3c29 commit 98c8595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/olap/wal_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ Status WalManager::delete_wal(int64_t wal_id) {
<< _all_wal_disk_bytes->load(std::memory_order_relaxed);
_wal_id_to_writer_map.erase(wal_id);
}
if (_wal_id_to_writer_map.empty()) {
if (_wal_id_to_writer_map.empty() && !config::wait_relay_wal_finish) {
CHECK_EQ(_all_wal_disk_bytes->load(std::memory_order_relaxed), 0);
}
auto it = _wal_path_map.find(wal_id);
Expand Down

0 comments on commit 98c8595

Please sign in to comment.