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

kraken: rgw: add the remove-x-delete feature to cancel swift object expiration #14522

Merged
merged 1 commit into from Jul 7, 2017

Conversation

smithfarm
Copy link
Contributor

In openstack swift, it also support the feature to cancel the object expiration,
which could be found at last point in
https://docs.openstack.org/user-guide/cli-swift-set-object-expiration.html. we
can remove the object expiration by set 'X-Remove-Delete-At:'.

This patch also could fix the bug that when we set the object expiration and
then upload the same object to the container again. The previous object expiration
also works, which is not compatible with the openstack swift.

Fixes: http://tracker.ceph.com/issues/19074
Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
(cherry picked from commit 230429e)
@smithfarm smithfarm self-assigned this Apr 13, 2017
@smithfarm smithfarm added this to the kraken milestone Apr 13, 2017
@smithfarm
Copy link
Contributor Author

Jenkins re-test this please

1 similar comment
@smithfarm
Copy link
Contributor Author

Jenkins re-test this please

@smithfarm smithfarm requested a review from yehudasa July 6, 2017 06:49
@smithfarm
Copy link
Contributor Author

@yehudasa @mattbenjamin @oritwas @cbodley @rzarzynski This PR passed an rgw suite at http://tracker.ceph.com/issues/19009#note-60 and, provided there are no objections, I'll merge it as soon as it gets a positive review from one of you.

Copy link
Contributor

@rzarzynski rzarzynski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This backport of #13621 LGTM.

@smithfarm smithfarm changed the title kraken: cannot cover the object expiration kraken: rgw: add the remove-x-delete feature to cancel swift object expiration Jul 7, 2017
@smithfarm smithfarm merged commit 19280ae into ceph:kraken Jul 7, 2017
@smithfarm smithfarm deleted the wip-19472-kraken branch July 7, 2017 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants