Project

General

Profile

Actions

Bug #82828

open
KC KC

rgw multisite: bilog trim leaves a deleted bucket's full sync status object in the log pool

Bug #82828: rgw multisite: bilog trim leaves a deleted bucket's full sync status object in the log pool

Added by Krunal Chheda 28 days ago. Updated 28 days ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle, umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

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.


Related issues 1 (0 open — 1 closed)

Related to rgw - Bug #20802: rgw multisite: clean up deleted bucket instance and index objectsResolvedShilpa MJ

Actions

KC Updated by Krunal Chheda 28 days ago Actions #1

  • Related to Bug #20802: rgw multisite: clean up deleted bucket instance and index objects added

KC Updated by Krunal Chheda 28 days ago Actions #2

  • Assignee set to Krunal Chheda

KC Updated by Krunal Chheda 28 days ago Actions #3

  • Pull request ID set to 73557

KC Updated by Krunal Chheda 28 days ago Actions #4

  • Status changed from New to Fix Under Review
Actions

Also available in: PDF Atom