Skip to content

rgw/logging: change test to match the new source cleanup process#705

Merged
yuvalif merged 1 commit intoceph:masterfrom
yuvalif:wip-yuval-73675
Nov 12, 2025
Merged

rgw/logging: change test to match the new source cleanup process#705
yuvalif merged 1 commit intoceph:masterfrom
yuvalif:wip-yuval-73675

Conversation

@yuvalif
Copy link
Copy Markdown
Contributor

@yuvalif yuvalif commented Nov 3, 2025

  • in "journal" mode, when multiple source buckets share the same log prefix, the first one being deleted will remove the object holding the temporary object name, and only the first would commit the temp object.
  • in "standard" mode, the other buckets will recreate the object holding the temporary object name, becase the bucket deletion operation will be logged as well.

this fix is needed for: ceph/ceph#66110

@yuvalif yuvalif requested a review from nbalacha November 3, 2025 11:32
* in "journal" mode, when multiple source buckets share the same log prefix,
the first one being deleted will remove the object holding the temporary
object name, and only the first would commit the temp object.
* in "standard" mode, the other buckets will recreate the object holding
the temporary object name, becase the bucket deletion operation will be
logged as well.
* added tests where only one of the buckets sharing a common prefix is
  deleted and the rest are not

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
@yuvalif
Copy link
Copy Markdown
Contributor Author

yuvalif commented Nov 11, 2025

test is passing here: ceph/ceph#66110 (comment)

@yuvalif yuvalif merged commit 219eaf4 into ceph:master Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants