]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix bucket limit check fill_status warnings 38825/head
authorPaul Emmerich <paul.emmerich@croit.io>
Tue, 11 Jun 2019 12:10:55 +0000 (14:10 +0200)
committerNathan Cutler <ncutler@suse.com>
Fri, 8 Jan 2021 18:05:32 +0000 (19:05 +0100)
commitdffe136ffec716899120f46b79a7fb674ab849cb
treea2e13c910b50ed509fcbc6290d8db26374c91229
parent293d1d70dceb8964adcf9863aed4955ba8285b11
rgw: fix bucket limit check fill_status warnings

all variables in the calculation where ints, so the warning would
only ever trigger if objects_per_shard == limit_objects and the
percentage for > 100% used a granularity of 100%

Fixes: http://tracker.ceph.com/issues/40255
Signed-off-by: Paul Emmerich <paul.emmerich@croit.io>
(cherry picked from commit 694076419e6f20d1ed6c95b4b1ff94f134a10d4d)
src/rgw/rgw_bucket.cc