diff --git a/core/vdbe/sorter.rs b/core/vdbe/sorter.rs index 934f56caa..9af3110e0 100644 --- a/core/vdbe/sorter.rs +++ b/core/vdbe/sorter.rs @@ -234,15 +234,6 @@ impl Sorter { } } InsertState::Insert => { - turso_assert!( - !self.chunks.iter().any(|chunk| { - matches!( - *chunk.io_state.read().unwrap(), - SortedChunkIOState::WaitingForWrite - ) - }), - "chunks should have written" - ); self.records.push(SortableImmutableRecord::new( record.clone(), self.key_len,