-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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(storage): add ObjectHandle.Move method #11302
Conversation
if err := applyCondsProto("MoveObjectDestination", defaultGen, params.dstConds, req); err != nil { | ||
return nil, err | ||
} | ||
if err := applySourceCondsProto("MoveObjectSource", defaultGen, params.srcConds, req); err != nil { |
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.
Why is this set to defaultGen
?
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.
Generation is not a field on the request. In general it doesn't look like you can specify a generation to move while leaving behind others at the source.
Support the new MoveObject API in both gRPC and JSON.