]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw_file: avoid long-ish delay on shutdown
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 30 Sep 2020 19:13:04 +0000 (15:13 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 30 Sep 2020 19:24:47 +0000 (15:24 -0400)
commit805f74956489e3158437acc1c3c12f267221843e
treed34cdc9fa1639ff4e3d18bdc1dc4d2aa88aa367e
parent72c9c66781886e7731aa74023cf2ae6cdada50c5
rgw_file: avoid long-ish delay on shutdown

Normal shutdown was likely to be delayed a substantial fraction
of rgw_nfs_namespace_expire_secs due to an ill-advised use of
this_thread::sleep_for.

Fixes: https://tracker.ceph.com/issues/47710
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/librgw.cc
src/rgw/rgw_lib_frontend.h