]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: Reduce data sync parallelism in response to RADOS lock latency
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 11 Oct 2022 18:49:58 +0000 (14:49 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 12 Jan 2023 23:13:46 +0000 (18:13 -0500)
commitb5d5da9c4d2a7bb07bdc6b51b9f58831d220d99b
treefe413929201d6929fef90d33db38ba08754ca6e0
parent900068ef93ce5d3d2aa54e79a89d3ada10d90b89
rgw: Reduce data sync parallelism in response to RADOS lock latency

Lock latency in RGWContinuousLeaseCR gets high enough under load that
the locks end up timing out, leading to incorrect behavior.

Monitor lock latency and cut concurrent operations in half if it goes
above ten seconds.

Cut currency to one if it goes about twenty seconds.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/driver/rados/rgw_cr_rados.cc
src/rgw/driver/rados/rgw_cr_rados.h
src/rgw/driver/rados/rgw_data_sync.cc
src/rgw/driver/rados/rgw_data_sync.h
src/rgw/driver/rados/rgw_sync.cc