Bug #82828
openrgw multisite: bilog trim leaves a deleted bucket's full sync status object in the log pool
0%
Description
#20802 made bilog trim remove a deleted bucket's index shards and instance
metadata in each zone, but each zone's bucket sync status for that bucket
stays in the log pool forever:
bucket.full-sync-status.<source_zone>:<bucket>:<bucket_id>
one per deleted bucket, per zone, per source zone. Data sync removes the
per-shard bucket.sync-status objects at the generation handover to the
Deleted log, but nothing removes the full sync status object.
Once the instance is gone nothing reads it (the bilog status REST op and
data sync both load the instance first), so the object is never cleaned up
and accumulates as buckets are created and deleted.
Reproduce: two-zone multisite, create a bucket and write an object, let it
sync, delete the object and the bucket, run "radosgw-admin bilog autotrim"
on both zones. The instance metadata is gone, but
"rados -p <zone>.rgw.log ls | grep full-sync-status" still lists the bucket
in each zone.
KC Updated by Krunal Chheda 28 days ago
- Related to Bug #20802: rgw multisite: clean up deleted bucket instance and index objects added
KC Updated by Krunal Chheda 28 days ago
- Assignee set to Krunal Chheda
KC Updated by Krunal Chheda 28 days ago
- Pull request ID set to 73557
KC Updated by Krunal Chheda 28 days ago
- Status changed from New to Fix Under Review