]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix bucket limit check fill_status warnings 38826/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:57 +0000 (19:05 +0100)
commit42536184a5a950a31aebc7f0d981537229ae5c6c
tree84891e36fe0e03c84700fe6c36f798e412535121
parent79adcfe1c91d71a042ed33a77a29dea96f116e6e
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