Ignore format version when comparing summary for delta_layer

This commit is contained in:
Konstantin Knizhnik
2024-03-14 14:21:35 +02:00
parent 0b57e0b8f2
commit aaef3789b0

View File

@@ -724,6 +724,8 @@ impl DeltaLayerInner {
Summary::des_prefix(summary_blk.as_ref()).context("deserialize first block")?;
if let Some(mut expected_summary) = summary {
// assume backward compatibility
expected_summary.format_version = actual_summary.format_version;
// production code path
expected_summary.index_start_blk = actual_summary.index_start_blk;
expected_summary.index_root_blk = actual_summary.index_root_blk;