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

rgw: fix multi-delete query param parsing. #10189

Merged
merged 1 commit into from Jul 29, 2016

Conversation

robbat2
Copy link
Contributor

@robbat2 robbat2 commented Jul 7, 2016

Backport: http://tracker.ceph.com/issues/16698

Multi-delete is triggered by a query parameter on POST, but there are
multiple valid ways of representing it, and Ceph should accept ANY way
that has the query parameter set, regardless of what value or absence of
value.

This caused the RubyGem aws-sdk-v1 to break, and has been present since
multi-delete was first added in commit 0a1f4a9, for the bobtail
release.

Fixes: http://tracker.ceph.com/issues/16618
Signed-off-by: Robin H. Johnson robin.johnson@dreamhost.com
(cherry picked from commit a7016e1)

Multi-delete is triggered by a query parameter on POST, but there are
multiple valid ways of representing it, and Ceph should accept ANY way
that has the query parameter set, regardless of what value or absence of
value.

This caused the RubyGem aws-sdk-v1 to break, and has been present since
multi-delete was first added in commit 0a1f4a9, for the bobtail
release.

Fixes: http://tracker.ceph.com/issues/16618
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit a7016e1)
@smithfarm smithfarm changed the title rgw: fix multi-delete query param parsing. [DNM] rgw: fix multi-delete query param parsing. Jul 8, 2016
@smithfarm
Copy link
Contributor

Marking DNM until master commit #10187 is merged and backport staged.

@smithfarm smithfarm self-assigned this Jul 8, 2016
@smithfarm smithfarm added this to the hammer milestone Jul 8, 2016
@smithfarm smithfarm changed the title [DNM] rgw: fix multi-delete query param parsing. rgw: fix multi-delete query param parsing. Jul 16, 2016
smithfarm added a commit that referenced this pull request Jul 18, 2016
Reviewed-by: Nathan Cutler <ncutler@suse.com>
smithfarm added a commit that referenced this pull request Jul 24, 2016
Reviewed-by: Nathan Cutler <ncutler@suse.com>
@smithfarm
Copy link
Contributor

@yehudasa This PR passed an rgw suite with some valgrind-related failures that appear harmless - see http://tracker.ceph.com/issues/15895#note-19

Do you think this PR is ready to merge?

@yehudasa
Copy link
Member

@smithfarm ack

@smithfarm smithfarm merged commit fdb730e into ceph:hammer Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants