]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix bucket limit check fill_status warnings 28489/head
authorPaul Emmerich <paul.emmerich@croit.io>
Tue, 11 Jun 2019 12:10:55 +0000 (14:10 +0200)
committerPaul Emmerich <paul.emmerich@croit.io>
Tue, 11 Jun 2019 12:14:32 +0000 (14:14 +0200)
commit694076419e6f20d1ed6c95b4b1ff94f134a10d4d
tree1270c800525ea73968f8f0330b6258bbacc6bd12
parent748c294508980613595a8edf547521582c820051
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>
src/rgw/rgw_bucket.cc