Support xxhash 32-bit checksums (data_csum_type=xxh3_32)
This commit is contained in:
@@ -1117,7 +1117,7 @@ void test_corruption()
|
||||
blockstore_heap_t heap(&dsk, buffer_area.data());
|
||||
auto entry = ((heap_entry_t*)tmp.data());
|
||||
entry->size++;
|
||||
entry->crc32c = entry->calc_crc32c();
|
||||
entry->checksum = entry->calc_checksum(&heap);
|
||||
uint64_t entries_loaded;
|
||||
assert(heap.load_blocks(0, dsk.meta_block_size, tmp.data(), false, entries_loaded) == EDOM);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user