rgw: fix radosgw-admin bucket check stat calculation bug#53607
rgw: fix radosgw-admin bucket check stat calculation bug#53607
Conversation
…bucket Reproduces a regression where radosgw-admin bucket check incorrectly counts objects that started as unversioned and later transitioned to versioned. Signed-off-by: Cory Snyder <[email protected]>
Fixes a regression with radosgw-admin bucket check stat calculation and bucket reshard stat calculation when there are objects that have transitioned from unversioned to versioned. The bug was introduced in 152aadb. Signed-off-by: Cory Snyder <[email protected]>
|
I discovered this issue while working on a Pacific backport. I'll include these commits along with the others from #52576 when I submit that backport. |
The bucket index check admin API was previously returning invalid JSON. Signed-off-by: Cory Snyder <[email protected]>
|
This ragweed fix is associated with the fix for the admin bucket check api output format: ceph/ragweed#27 |
|
jenkins test api |
cbodley
left a comment
There was a problem hiding this comment.
@cfsnyder do we need a separate tracker issue for the backports? or just include this with https://tracker.ceph.com/issues/61359 and/or https://tracker.ceph.com/issues/62075?
I was just going to include them with https://tracker.ceph.com/issues/62075 if that's ok with you |
|
looks like test failures are unrelated |
Fixes a regression with radosgw-admin bucket check stat
calculation and bucket reshard stat calculation when
there are objects that have transitioned from unversioned
to versioned. The bug was introduced in 152aadb.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows