Skip to content

Commit

Permalink
Fix release build
Browse files Browse the repository at this point in the history
  • Loading branch information
pdillinger committed Oct 31, 2024
1 parent ce290c0 commit c3eaf03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/db_impl/db_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,9 @@ Status DBImpl::CloseHelper() {
// time a handle is released, we erase it from the cache too. By doing that,
// we can guarantee that after versions_.reset(), table cache is empty
// so the cache can be safely destroyed.
#ifndef NDEBUG
TEST_VerifyNoObsoleteFilesCached(/*db_mutex_already_held=*/true);
#endif // !NDEBUG
table_cache_->EraseUnRefEntries();

for (auto& txn_entry : recovered_transactions_) {
Expand Down

0 comments on commit c3eaf03

Please sign in to comment.