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

hammer: rgw: orphan tool should be careful about removing head objects #6351

Merged
1 commit merged into from Dec 2, 2015

Conversation

theanalyst
Copy link
Member

Fixes: ceph#12958

Head objects are mutable, so removing them can race with object removal
and a later recreation, so we might end up cleaning them up when we don't
need to.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 030f697)
@theanalyst theanalyst self-assigned this Oct 22, 2015
@theanalyst theanalyst added this to the hammer milestone Oct 22, 2015
ghost pushed a commit that referenced this pull request Nov 11, 2015
…moving head objects

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Nov 13, 2015
…moving head objects

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Nov 13, 2015
ghost pushed a commit that referenced this pull request Nov 16, 2015
…moving head objects

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link

ghost commented Nov 16, 2015

@yehudasa does this backport look good to merge ? It passed a run of the hammer rgw suite ( see http://tracker.ceph.com/issues/13356#note-23 ).

ghost pushed a commit that referenced this pull request Nov 19, 2015
…moving head objects

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Nov 19, 2015
…moving head objects

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Nov 19, 2015
…moving head objects

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost assigned yehudasa and unassigned theanalyst Nov 21, 2015
@ghost
Copy link

ghost commented Nov 25, 2015

@yehudasa ping ?

@yehudasa
Copy link
Member

yehudasa commented Dec 2, 2015

@dachary looks good

ghost pushed a commit that referenced this pull request Dec 2, 2015
rgw: orphan tool should be careful about removing head objects

Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
@ghost ghost merged commit 487dc34 into ceph:hammer Dec 2, 2015
@ghost ghost changed the title rgw: orphan tool should be careful about removing head objects hammer: rgw: orphan tool should be careful about removing head objects Feb 18, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants