]> 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 08:53:09 +0000 (08:53 +0000)
commitc4a9aebb49a739a85c1b0787ca4097f258a54bcb
treef6a5da46cb2e9734b7f6261271e78efba67b4293
parent541a2a94ad263a03f88029390f595031be77bca4
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 into driver dir in later versions
src/rgw/rgw_bucket.cc