]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: bucket limit check misbehaves for > max-entries buckets (usually 1000) 26946/head
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 6 Mar 2019 22:05:11 +0000 (17:05 -0500)
committerAshish Singh <assingh@redhat.com>
Thu, 14 Mar 2019 07:35:31 +0000 (13:05 +0530)
commitb9867db9e28ec4fdb5a904d78a289e3703157b53
treed33c6f04d221a119539c805453f4c39bdfefd028
parentdf0a6d4f6ed8d24853c9235dd71f321a94696af6
rgw: bucket limit check misbehaves for > max-entries buckets (usually 1000)

RGWBucketAdminOp::limit_check does not correctly handle
truncation/continuation markers across calls to rgw_read_user_buckets(...).
Also, it should, but does not, flush its formatter periodically.

Fixes: https://tracker.ceph.com/issues/35973
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 675b775ea52e0d7b81efb32c6cffa6987190184b)
src/rgw/rgw_bucket.cc