Skip to content

rgw: Add a command that deletes objects leaked from multipart retries - #17323

Closed
wschroeder wants to merge 1 commit into
ceph:jewelfrom
wschroeder:wip-16767-jewel
Closed

wschroeder wants to merge 1 commit into
ceph:jewelfrom
wschroeder:wip-16767-jewel

Conversation

@wschroeder

@wschroeder wschroeder commented Aug 28, 2017 •

Copy link
Copy Markdown

This patch only partially fixes 16767. It does not prevent multipart retry leakage; instead, it provides a tool to clean up existing leaked multipart namespace objects.

Backport: hammer, infernalis, kraken, luminous
Assists: http://tracker.ceph.com/issues/16767
Signed-off-by: William Schroeder [email protected]

Comment thread src/rgw/rgw_admin.cc Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@wschroeder How good to use remove leaked multipart objects those piled from retries in place of remove leaked multipart objects that have arisen from retries

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I had similar feedback from some others, and I am s/arisen/accumulated/.

@wschroeder

Copy link
Copy Markdown
Author

I am reviewing the test failures. Definitely overlooked the help change in the cli test.

This patch only partially fixes 16767.  It does not prevent multipart
retry leakage; instead, it provides a tool to clean up existing leaked
multipart namespace objects.

Backport: hammer, infernalis, kraken, luminous
Assists: http://tracker.ceph.com/issues/16767
Signed-off-by: William Schroeder <[email protected]>
@cbodley

cbodley commented Aug 29, 2017

Copy link
Copy Markdown
Contributor

hi @wschroeder, is there a reason that this targets jewel instead of master? ideally this would merge into master and be backported from there

@wschroeder

wschroeder commented Aug 29, 2017 •

Copy link
Copy Markdown
Author

Hello @cbodley, I am testing locally with the ceph-demo Docker container for Jewel and have reduced my development turnarounds to about 1 minute by only copying a handful of binaries into the image to verify and experiment with changes on a high level. I only have confidence of the changes on Jewel at the moment. It will probably work on master, given the nature of the change, but I have not set up a full deployment of master (2-3 hour turnaround, assuming my little Docker container can handle it). Also, we are not using the bleeding edge version here; our current target is Jewel.

@wschroeder

Copy link
Copy Markdown
Author

@cbodley I re-read the contributing documentation and will attempt to redo all this on master. Closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants