mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-07 05:42:57 +00:00
fix: remove redundant debug_assert
This commit is contained in:
@@ -462,7 +462,6 @@ impl FlushScheduler {
|
||||
|
||||
let version = version_control.current().version;
|
||||
if version.memtables.is_empty() {
|
||||
debug_assert!(!self.region_status.contains_key(®ion_id));
|
||||
// The region has nothing to flush.
|
||||
task.on_success();
|
||||
return Ok(());
|
||||
|
||||
Reference in New Issue
Block a user