-
Notifications
You must be signed in to change notification settings - Fork 21
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
feat: add MoveObject to json and grpc #706
Conversation
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.
Thanks for working on this. Reading through the api design doc, IIUC MoveObject is for HNS-enabled buckets only.
HNS and storage control are not typically within the scope of the testbench. If this PR is necessary for testing MoveObject, happy to merge it in. I simply wanted to highlight that the testbench lacks HNS support, which may present limitations for feature expansions.
testbench/grpc_server.py
Outdated
@@ -805,6 +805,40 @@ def RestoreObject(self, request, context): | |||
) | |||
return blob.metadata | |||
|
|||
@retry_test(method="storage.objects.move") |
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.
Could we remove the retry_test decorators here and in rest_server and also add comments that this is partially supported only to test single object, thanks!
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.
Done.
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.
Thanks Denis for adding the clarifying comments!
Fixes #<issue_number_goes_here>