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

Directory object (key/) is not supported combined with versioning Enabled/Suspended #8531

Open
romayalon opened this issue Nov 14, 2024 · 0 comments
Labels

Comments

@romayalon
Copy link
Contributor

Environment info

  • NooBaa Version: 5.18
  • Platform: All

Actual behavior

  1. A .folder file that gets created by uploading a directory object is currently not being versioned when versioning is enabled, on a second PUT of the same directory object the .folder will get overridden, and on delete we won't create a delete marker for this file.
    same for MPU, delete latest/delete version id/lists/get/head etc, we need to support all flows with directory object combined with versioning.

Expected behavior

  1. Content directory object can be versioned.

Steps to reproduce

Regular put example -

  1. aws s3 api put-object --bucket bucket1 --key a/b/c/ --body some_file_v1.txt
  2. aws s3 api put-object --bucket bucket1 --key a/b/c/ --body some_file_v2.txt
  3. aws s3 api list-object-versions - result - got only the second version

More information - Screenshots / Logs / Other output

@romayalon romayalon changed the title Directory object (key/) is not supported combined with versioning Enabled Directory object (key/) is not supported combined with versioning Enabled/Suspended Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant