Fix vitastor-disk build (with old metadata and journal formats)

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent 353460cc83
commit 38112e9012
10 changed files with 82 additions and 51 deletions
+6
View File
@@ -147,6 +147,12 @@ resume_1:
exit(1);
}
bs->heap->set_compacted_lsn(hdr->compacted_lsn);
if (bs->dsk.meta_format != hdr->version)
{
bs->dsk.meta_format = hdr->version;
bs->dsk.calc_lengths();
}
bs->dsk.check_lengths();
}
if (bs->dsk.inmemory_journal)
{