-
Notifications
You must be signed in to change notification settings - Fork 80
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
Rework S3 object version ID and marker check #8014
Merged
guymguym
merged 14 commits into
noobaa:master
from
Neon-White:move-s3-req-versionid-check
May 8, 2024
Merged
Rework S3 object version ID and marker check #8014
guymguym
merged 14 commits into
noobaa:master
from
Neon-White:move-s3-req-versionid-check
May 8, 2024
Conversation
This file contains 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
Neon-White
force-pushed
the
move-s3-req-versionid-check
branch
from
May 6, 2024 16:52
0ec8e3a
to
267a53c
Compare
guymguym
requested changes
May 6, 2024
Neon-White
changed the title
Move S3
Rework S3 object version ID check
May 6, 2024
get_object
version ID check
guymguym
reviewed
May 7, 2024
guymguym
reviewed
May 7, 2024
guymguym
reviewed
May 7, 2024
shirady
reviewed
May 7, 2024
guymguym
reviewed
May 7, 2024
guymguym
reviewed
May 7, 2024
shirady
reviewed
May 7, 2024
guymguym
reviewed
May 7, 2024
guymguym
reviewed
May 7, 2024
guymguym
reviewed
May 7, 2024
guymguym
reviewed
May 7, 2024
Neon-White
force-pushed
the
move-s3-req-versionid-check
branch
from
May 7, 2024 13:53
2e993d4
to
5ec49fc
Compare
Neon-White
changed the title
Rework S3 object version ID check
Rework S3 object version ID and marker check
May 8, 2024
Neon-White
force-pushed
the
move-s3-req-versionid-check
branch
from
May 8, 2024 09:43
90fd733
to
1e4444b
Compare
shirady
approved these changes
May 8, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Neon-White
force-pushed
the
move-s3-req-versionid-check
branch
from
May 8, 2024 15:18
082923b
to
c979e8d
Compare
guymguym
reviewed
May 8, 2024
Signed-off-by: Ben <belimele@redhat.com>
- Move the `get_object` check closer to the parsing checks - Add the version ID check to `head_object` Signed-off-by: Ben <belimele@redhat.com>
Signed-off-by: Ben <belimele@redhat.com>
Signed-off-by: Ben <belimele@redhat.com>
Signed-off-by: Ben <belimele@redhat.com>
Signed-off-by: Ben <belimele@redhat.com>
Signed-off-by: Ben <belimele@redhat.com>
Signed-off-by: Ben <belimele@redhat.com>
- Revert `s3_rest.js` changes Signed-off-by: Ben <belimele@redhat.com>
- Add empty version ID marker error - Add empty version ID marker checks Signed-off-by: Ben <belimele@redhat.com>
Signed-off-by: Ben <belimele@redhat.com>
Signed-off-by: Ben <belimele@redhat.com>
Neon-White
force-pushed
the
move-s3-req-versionid-check
branch
from
May 8, 2024 19:45
9ad4d56
to
3cfa021
Compare
Signed-off-by: Ben <belimele@redhat.com>
Neon-White
force-pushed
the
move-s3-req-versionid-check
branch
from
May 8, 2024 20:06
f844763
to
f3c3f65
Compare
Signed-off-by: Ben <belimele@redhat.com>
guymguym
approved these changes
May 8, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
@guymguym 14 commits! not squashed :( |
didnt notice. will be squashed by backports if needed. |
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.
Explain the changes
read_object_md
is called, which takes care of both namespacestore and backingstore queries - while also potentially eliminating the case in which the store would enter a Rejected statetest_s3_ops
Issues: Fixed #xxx / Gap #xxx
Testing Instructions:
s3api
with--version-id ""
) to try and access an existing object's version ID by providing an empty stringAn error occurred (InvalidArgument) when calling the GetObject operation: Version id cannot be the empty string
)