]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: clear data_sync_cr if RGWDataSyncControlCR fails
authorCasey Bodley <cbodley@redhat.com>
Tue, 11 Oct 2016 19:19:37 +0000 (15:19 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 14 Mar 2017 13:54:18 +0000 (09:54 -0400)
commit18ffdb7baf4aff1fd7f894af1054081f3ee61d28
tree5aab34264b1f3b61d8788bfd0ee95fc77e23e9ba
parent656b5b63ed7c43bd014bcafd81b001959d5f089f
rgw: clear data_sync_cr if RGWDataSyncControlCR fails

async notifications will still try to call wakeup() on RGWDataSyncControlCR
if it fails, leading to segfault

Fixes: http://tracker.ceph.com/issues/17569
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 5cc599b9bf2dde31de16a5b2831baf06851d69d5)

 Conflicts:
src/rgw/rgw_data_sync.cc: declaration of 'int r'
src/rgw/rgw_data_sync.cc