]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: bucket limit check misbehaves for > max-entries buckets (usually 1000) 26800/head
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 6 Mar 2019 22:05:11 +0000 (17:05 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 6 Mar 2019 22:25:22 +0000 (17:25 -0500)
commit675b775ea52e0d7b81efb32c6cffa6987190184b
tree1997a9001f95cc2144b041386ff69b912f9c5c32
parent7ba6bece4187eda5d05a9b84211fe6ba8dd287bd
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>
src/rgw/rgw_bucket.cc