Snapshots of the same version are not inter-compatible
Environment (Mainnet, test network, build from source, ...)
Versions v17.3 and v18.0-rc1 of octez-node, static binaries taken from tezos-packaging.
Summary
Snapshots produced with octez-node version v18.0-rc1 cannot be imported by version v17.3, despite the fact that both produce snapshots with snapshot version 5.
Expected behavior
The snapshots are inter-compatible when the snapshot version is the same.
Actual behavior
octez-node snapshot import version v17.3 fails with the message:
octez-node: Error:
Pack_error: {"Unknown_major_pack_version":"00000005"}
Steps to reproduce
With version v18.0-rc1 and a node with context running on ghostnet, run:
octez-node snapshot export --rolling test.rolling
octez-node snapshot info ./test.rolling
the second command should report snapshot version 5.
With version v17.3 and a clean data directory then run:
octez-node config init --history-mode=rolling --network=ghostnet
octez-node snapshot import ./test.rolling
which results in the error above.
Note that running snapshot export and then snapshot info with v17.3 also reports a snapshot version 5.
History mode
I only tried with a rolling history on ghostnet.