mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::db: Remove the write lock during manual range compaction.
This commit is contained in:
parent
d754af2f18
commit
d6e05aa826
1 changed files with 0 additions and 3 deletions
|
@ -9402,9 +9402,6 @@ ircd::db::compact(column &column,
|
|||
opts.target_level = std::max(to_level, -1);
|
||||
opts.bottommost_level_compaction = rocksdb::BottommostLevelCompaction::kForce;
|
||||
|
||||
const ctx::uninterruptible ui;
|
||||
const std::lock_guard<decltype(write_mutex)> lock{write_mutex};
|
||||
|
||||
// Save and restore the existing filter callback so we can allow our
|
||||
// caller to use theirs. Note that this manual compaction should be
|
||||
// exclusive for this column (no background compaction should be
|
||||
|
|
Loading…
Reference in a new issue