mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
Merge pull request #16854 from yaozongyou/fix-rgw-not-responding
rgw: fix not responding when receiving SIGHUP signal. Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
This commit is contained in:
commit
88c1d6b472
@ -512,6 +512,9 @@ class RGWUserStatsCache : public RGWQuotaCache<rgw_user> {
|
||||
ldout(cct, 5) << "ERROR: sync_all_users() returned ret=" << ret << dendl;
|
||||
}
|
||||
|
||||
if (stats->going_down())
|
||||
break;
|
||||
|
||||
lock.Lock();
|
||||
cond.WaitInterval(lock, utime_t(cct->_conf->rgw_user_quota_sync_interval, 0));
|
||||
lock.Unlock();
|
||||
|
Loading…
Reference in New Issue
Block a user