]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: bucket limit check misbehaves for > max-entries buckets (usually 1000) 26945/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:31:52 +0000 (13:01 +0530)
commit09d7e98511b6cf6cab17cb594f9005df7fda795f
treed0e59025ded7e790d8e1c7c06a0113f483fed058
parentcbff874f9007f1869bfd3821b7e33b2a6ffd4988
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