]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: radosgw-admin bucket check should only print index entries with --check-objects...
authorCory Snyder <csnyder@1111systems.com>
Fri, 22 Sep 2023 08:35:16 +0000 (08:35 +0000)
committerCory Snyder <csnyder@1111systems.com>
Wed, 4 Oct 2023 14:58:21 +0000 (14:58 +0000)
commitccc2104fc157b0c210f7cd68f2c3e0555ce2fffe
treeb4c38b69138b47532844f9f8dedf7998135c3636
parentc4210ee20e0ec8b7068980fdcd51f346e5e51241
rgw: radosgw-admin bucket check should only print index entries with --check-objects flag

Printing all index entries can be very time consuming for large
buckets and the inability to switch this behavior off makes it
cumbersome to use the command for fixing bucket stats. This was
also preventing the command from outputting recalculated bucket
stats when the --fix flag wasn't specified.

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 6b057fe55413c0eaf9959f006584cba6cc4c192a)

Conflicts:
src/rgw/driver/rados/rgw_bucket.cc

Cherry-pick notes:
- Conflicts due to rgw_bucket.cc moved to driver/rados directory on main
src/rgw/rgw_bucket.cc