mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-25 17:10:38 +00:00
This includes some changes that would've been more neat to have as separate commits, but oh well, this 'layered-repo' branch will need to be squashed before it's committed to 'main' anyway: - introduce a new SnaphotFilename struct in snapshot_layer.rs, to make it more convenient to work with snapshot file filenames. - Fix the code in get_layer_for_read() to get the right layer from disk even if some older layer was in cache. There was a FIXME for this, but it didn't apparently cause trouble before. It started to cause regression failures after the rebase, I think because that scenario arised in with the Clog in the test_branch_behind test.