You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently we caluclate if a delete marker is latest by checking if there is a previous delete marker in the list
if we call list-object with key marker we start from the middle of the list. in that case if the first element on the list is a delete marker the previous delete marker will not appear on the list. causing us to incorrectly set it to be a delete marker
Actual behavior
first delete marker after pagination is always set to be latest
Expected behavior
1.delete marker is set to be latest only if it actually is latest
Steps to reproduce
list_object with key_marker and version_marker of a non latest s3api-nadav list-object-versions --bucket nadav-bucket --key-marker <key> --version-id-marker <version-id>
first element is the delete marker
More information - Screenshots / Logs / Other output