Fix garbage validation, skip garbage entries on load

This commit is contained in:
Vitaliy Filippov
2026-02-17 01:12:26 +03:00
parent 4fa442a5de
commit a1d215ea2f
3 changed files with 47 additions and 29 deletions
+1 -1
View File
@@ -1899,7 +1899,7 @@ void test_big_intent_csums()
object_id oid = { .inode = INODE_WITH_POOL(1, 1), .stripe = 0 };
heap_entry_t *obj = heap.read_entry(oid);
assert(obj);
assert(count_writes(heap, obj) == 2);
assert(count_writes(heap, obj) == 1);
assert(obj->lsn == 2);
assert(obj->entry_type == BS_HEAP_BIG_INTENT|BS_HEAP_STABLE);
assert(obj->version == 2);