Repository navigation
Conversation
Contributor
Author
Actually, I need to reinstantiate this, because an always-resident object could still be present in a previous snapshot, so we don't want to write it again. |
kim
force-pushed
the
kim/snapshots-enable-v1
branch
from
November 26, 2026 10:15
73e2f3e to
f387454
Compare
kim
force-pushed
the
kim/tiered-snapshots
branch
2 times, most recently
from
November 26, 2026 11:51
3cb1dbd to
a24e106
Compare
kim
force-pushed
the
kim/snapshots-enable-v1
branch
from
November 26, 2026 11:51
f387454 to
09f79c8
Compare
kim
force-pushed
the
kim/tiered-snapshots
branch
from
November 26, 2026 13:14
a24e106 to
d027756
Compare
kim
force-pushed
the
kim/snapshots-enable-v1
branch
from
November 26, 2026 13:14
09f79c8 to
b0dff14
Compare
kim
force-pushed
the
kim/tiered-snapshots
branch
from
November 26, 2026 14:12
d027756 to
c8972de
Compare
kim
force-pushed
the
kim/tiered-snapshots
branch
from
November 26, 2026 14:22
c8972de to
6636958
Compare
kim
force-pushed
the
kim/snapshots-enable-v1
branch
from
November 26, 2026 14:22
63df163 to
cc4718e
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As an intermediate step toward remote storage snapshot, this introduces the trait
SnapshotObjectStore. This trait permits the implementer to hardlink objects fromthe disk tier, and decide what to do with remote tier objects. It should be easy to
extend the interface for implementations that don't store objects on disk, by
providing an alternative
writemethod that doesn't take aPathbut anio::Writeor somesuch.
Since remote storage snapshots are a proprietary feature, standalone must continue
to support the current on-disk format. To that end, the implementation would copy
remote objects into the snapshot, if there was a configuration that would allow
remote objects to exist.
Hardlinking objects from the previous snapshot is no longer supported.To avoid writing always-resident objects repeatedly, a hard link from a previous
snapshot is attempted.
Note that resident objects are currently eagerly serialized to bsatn.
This patch depends in local tier pinning.
API and ABI breaking changes
N/A
Rollback safety impact
N/A
Expected complexity level and risk
3
Testing
Snapshots should remain identical on disk, which existing tests should cover.