rgw/multisite: bucket instance cleanup after deletion#53799
rgw/multisite: bucket instance cleanup after deletion#53799
Conversation
|
@cbodley this isn't ready yet. but I would like to get your feedback on the layout stuff. |
096c552 to
8836ca1
Compare
8836ca1 to
005214c
Compare
cbodley
left a comment
There was a problem hiding this comment.
the bucket layout and trim stuff looks great 👍
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
7968773 to
9a244a4
Compare
|
to-do: test the trim logic added and think about test cases. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
9a244a4 to
e791922
Compare
e2909e6 to
409bdc0
Compare
|
looking great except for the s3select submodule change |
|
this is amazing progress, shilpa! |
409bdc0 to
05fa85a
Compare
05fa85a to
8ddcd2a
Compare
8ddcd2a to
273adda
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
multisite run looks ok. these are the same failures that are on main. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
…stanceMetadataHandler. create an async cr for removing bucket instance info in bilog trimming logic Signed-off-by: Shilpa Jagannath <[email protected]>
Signed-off-by: Shilpa Jagannath <[email protected]>
…stance info. - get rid of the helper function that adds the 'deleted' log layout. Signed-off-by: Shilpa Jagannath <[email protected]>
Signed-off-by: Shilpa Jagannath <[email protected]>
Signed-off-by: Shilpa Jagannath <[email protected]>
…layout Signed-off-by: Shilpa Jagannath <[email protected]>
Signed-off-by: Shilpa Jagannath <[email protected]>
- handle the case when StatusShards returns -ENOENT Signed-off-by: Shilpa Jagannath <[email protected]>
Signed-off-by: Shilpa Jagannath <[email protected]>
we may end up orphaning objects on remote zones when a delete bucket is issued on metadata master. to avoid this, list the buckets on remote zones and delete bucket only when empty. if a zone is unreachable we drop that zone and continue with bucket deletion. such zones might have orphaned objects that will have to be cleaned up using radosgw-admin tool Signed-off-by: Shilpa Jagannath <[email protected]>
function. Signed-off-by: Shilpa Jagannath <[email protected]>
Signed-off-by: Shilpa Jagannath <[email protected]>
…anceMetadataHandler Signed-off-by: Shilpa Jagannath <[email protected]>
removal should happen locally Signed-off-by: Shilpa Jagannath <[email protected]>
Signed-off-by: Shilpa Jagannath <[email protected]>
Signed-off-by: Shilpa Jagannath <[email protected]>
only handle them when the bucket metadata is deleted. there is a case when we get enoent when status objects have not been created yet, for example when bucket metadata is created and synced but no data exists yet and bucket sync status won't be initialized. these don't need special handling. Signed-off-by: Shilpa Jagannath <[email protected]>
…andler::remove - fix testcase Signed-off-by: Shilpa Jagannath <[email protected]>
Signed-off-by: Shilpa Jagannath <[email protected]>
when returning enotempty during bucket deletion Signed-off-by: Shilpa Jagannath <[email protected]>
Signed-off-by: Shilpa Jagannath <[email protected]>
during bucket deletion Signed-off-by: Shilpa Jagannath <[email protected]>
42b6782 to
8fbef97
Compare
https://tracker.ceph.com/issues/20802
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
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