]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: dont spawn error_repo until lease is acquired 14714/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 20 Apr 2017 20:33:32 +0000 (16:33 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 21 Apr 2017 13:52:28 +0000 (09:52 -0400)
commit1524a5eb249113fed8da1d47a4f92dec98db4566
tree9b0afc8f33c5885a9c06e4dbf43d25d507f1bd4f
parentdcbc28fc4645f4722be8085a455f1b519d62fe14
rgw: dont spawn error_repo until lease is acquired

if RGWDataSyncShardCR fails to acquire its lease, it doesn't call
error_repo->finish() to stop the coroutine. wait until the lease
succeeds before spawning the error_repo

Fixes: http://tracker.ceph.com/issues/19446
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.cc