microsoft / FASTER

Fast persistent recoverable log and key-value store + cache, in C# and C++.
https://aka.ms/FASTER
MIT License
6.29k stars 563 forks source link

allow reading v4 checkpoints for compatibility #896

Closed sebastianburckhardt closed 6 months ago

sebastianburckhardt commented 6 months ago

Based on our conversation and the changes in #838 it appears to me that it is relatively easy to remain compatible with the v4 checkpoint version by using the same value for snapshotStartFlushedLogicalAddress and flushedLogicalAddress.

If that is indeed the case, this PR should make it possible to load older checkpoints, thus not breaking storage compatibility.