]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: wakeup lease_cr after abort on bucket sync disable 26615/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 19 Feb 2019 13:37:18 +0000 (08:37 -0500)
committerPrashant D <pdhange@redhat.com>
Mon, 25 Feb 2019 00:19:22 +0000 (19:19 -0500)
commit6c031e1d30417b72727ab50d7f2e7e9ea0b7471a
tree9c1308061cda9d5a59792a68fb9598c82331ab0e
parent8b9ac0442b7c51bc4d6fb53d3363e0da0144597a
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>
(cherry picked from commit 14c430337bf1a7929f4e56f8e1a5ec3948d1c2cd)
src/rgw/rgw_data_sync.cc
src/test/rgw/rgw_multi/tests.py