mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 08:55:40 +01:00
remove another expensive assert
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user