Skip to content

Commit bcd7b8c

Browse files
authored
Merge pull request ceph#58403 from ivancich/wip-fix-bucket-sync-thread
rgw: fix bucket sync thread waiting inordinate amount of time Reviewed-by: Casey Bodley <[email protected]>
2 parents be0e8e2 + afdead8 commit bcd7b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/rgw_quota.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ class RGWOwnerStatsCache : public RGWQuotaCache<rgw_owner> {
363363
// option, so we can assume it won't change while the RGW server
364364
// is running, so we'll handle it once before we loop
365365
double sync_interval_factor = 1.0;
366-
const uint64_t debug_interval = cct->_conf->rgw_reshard_debug_interval;
366+
const int64_t debug_interval = cct->_conf->rgw_reshard_debug_interval;
367367
if (debug_interval >= 1) {
368368
constexpr double secs_per_day = 60 * 60 * 24;
369369
sync_interval_factor = debug_interval / secs_per_day;

0 commit comments

Comments
 (0)