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

jewel: rgw: segmentation fault on error_repo in data sync #10523

Merged
merged 1 commit into from Aug 15, 2016

Conversation

Abhishekvrshny
Copy link

RGWDataSyncShardCR will only allocate an error_repo if it's doing
incremental sync, so RGWDataSyncSingleEntryCR needs to guard against a
null error_repo

also, RGWDataSyncShardCR::stop_spawned_services() was dropping the last
reference to the error_repo before calling drain_all(), which meant that
RGWDataSyncSingleEntryCR could still be holding a pointer. now uses a
boost::intrusive_ptr in RGWDataSyncSingleEntryCR to account for its
reference

Fixes: http://tracker.ceph.com/issues/16603

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 2860902)
@Abhishekvrshny Abhishekvrshny added this to the jewel milestone Aug 1, 2016
@Abhishekvrshny Abhishekvrshny self-assigned this Aug 1, 2016
ghost pushed a commit that referenced this pull request Aug 8, 2016
…po in data sync

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Aug 9, 2016
…po in data sync

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Aug 12, 2016
…po in data sync

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

ghost commented Aug 15, 2016

@cbodley does this backport look good to merge ? It passed the rgw suite http://tracker.ceph.com/issues/16344#note-19 (the failure was due to another pull request).

@ghost ghost assigned cbodley Aug 15, 2016
@cbodley cbodley merged commit d2e8692 into ceph:jewel Aug 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants