Fix assert

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent b17691ba02
commit 60fcb168fe
+1 -1
View File
@@ -275,7 +275,7 @@ void blockstore_impl_t::prepare_disk_read(std::vector<copy_buffer_t> & read_vec,
{
big_wr = heap->prev(big_wr);
}
assert(big_wr->type() == BS_HEAP_BIG_WRITE || big_wr->type() == BS_HEAP_INTENT_WRITE);
assert(big_wr->type() == BS_HEAP_BIG_WRITE || big_wr->type() == BS_HEAP_BIG_INTENT);
loc = big_wr->big_location(heap);
}
else if (wr->type() == BS_HEAP_SMALL_WRITE)