Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSFS | Versioning - in multipart upload version id order should be calculated based on creation time rather than completion time #8411

Open
nadavMiz opened this issue Sep 25, 2024 · 0 comments · May be fixed by #8644
Labels
NS-FS Type:Enhancement New suggestions for behaviours

Comments

@nadavMiz
Copy link
Contributor

Is your feature request related to a problem? Please describe.
see https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#distributedmpupload
for multipart upload version_id order should be determined by creation time rather than completion time as we do today
Describe the solution you'd like
instead of putting always the new upload as the latest version we need to -
Set the mtime of the composed file to be the creation time of the multipart upload file or put the timestamp inside the file
Check the latest version mtime and compare it to the mtime of the init mpu and decide if to put it as the latest version or inside .versions/

@nadavMiz nadavMiz added the Type:Enhancement New suggestions for behaviours label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NS-FS Type:Enhancement New suggestions for behaviours
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants