]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: wakeup lease_cr after abort on bucket sync disable
authorCasey Bodley <cbodley@redhat.com>
Tue, 19 Feb 2019 13:37:18 +0000 (08:37 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 19 Feb 2019 13:37:20 +0000 (08:37 -0500)
commit14c430337bf1a7929f4e56f8e1a5ec3948d1c2cd
tree0031cddb67fbb07dba4e5fd397c4a1163afb7ccc
parent2bd1595aa6962cbe9d95a4b794d2411d20d6c78f
rgw: wakeup lease_cr after abort on bucket sync disable

the 'bucket sync disable' tests were causing data sync to lag behind
because these calls to lease_cr->abort() were still waiting for the
RGWContinuousLeaseCR to wake up from its sleep. added data sync
checkpoints to each 'bucket sync disable' test to make sure that data
sync catches up before running other tests, as this was causing failures
in the new 'datalog autotrim' test

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.cc
src/test/rgw/rgw_multi/tests.py