Add ObjectMeta::version and GetOptions::version (#4925)#4935
Merged
tustvold merged 2 commits intoapache:masterfrom Oct 20, 2023
Merged
Add ObjectMeta::version and GetOptions::version (#4925)#4935tustvold merged 2 commits intoapache:masterfrom
tustvold merged 2 commits intoapache:masterfrom
Conversation
crepererum
approved these changes
Oct 16, 2023
| last_modified, | ||
| size: data.len(), | ||
| e_tag: None, | ||
| version: None, |
Contributor
There was a problem hiding this comment.
In theory the mem backend could implement this, not sure if that would be helpful for testing (might also be a follow-up PR).
BTW: what's the expectation regarding how long versions are kept in "the cloud"?
Contributor
Author
There was a problem hiding this comment.
Indeed this is waiting on #4922
As for expectations, none, we expose what is in the store, which in turn will depend on what lifecycle policy has been configured if any
Contributor
Author
|
The use-case I thought I had for this, can actually avoid needing this complexity, so parking this as a draft whilst I reflect on this |
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.
Which issue does this PR close?
Closes apache/arrow-rs-object-store#127
Rationale for this change
This adds the ability to get the version of an object
What changes are included in this PR?
Are there any user-facing changes?