Skip to content

Commit

Permalink
fix: remove redundant debug_assert
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu committed Jun 6, 2024
1 parent 5773cc4 commit c13e552
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mito2/src/flush.rs
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,6 @@ impl FlushScheduler {

let version = version_control.current().version;
if version.memtables.is_empty() {
debug_assert!(!self.region_status.contains_key(&region_id));
// The region has nothing to flush.
task.on_success();
return Ok(());
Expand Down

0 comments on commit c13e552

Please sign in to comment.