Repository navigation
doc: compute footer copyright year dynamically - #70858
Merged
Merged
Conversation
The footer on every docs.ceph.com page showed a hardcoded 2016 copyright. Render it as a range ending in the current build year. Fixes: https://tracker.ceph.com/issues/79036 Signed-off-by: Emmanuel Ameh <[email protected]>
nizamial09
pushed a commit
to rhcs-dashboard/ceph
that referenced
this pull request
Aug 6, 2026
…ary reshard Adds test_bucket_log_trim_enoent_race_after_reshard to reproduce the exact failure from tracker ceph#70858: when autotrim runs on the primary zone first and fully cleans up (including removing its own bucket.instance metadata), then an autotrim on the secondary zone asks the primary and receives -ENOENT. The secondary hasn't received the BucketLogType::Deleted flag yet (metadata sync is stalled via delay injection), so the current code left StatusShards{generation=0, shards=[]} which caused take_min_status() to fail with -EINVAL, leaving the bucket.instance metadata permanently orphaned. Tests: https://tracker.ceph.com/issues/70858 Signed-off-by: Oguzhan Ozmen <[email protected]> (cherry picked from commit 43518e2)
nizamial09
pushed a commit
to rhcs-dashboard/ceph
that referenced
this pull request
Aug 6, 2026
When a peer returns -ENOENT for a bucket's sync status, the old code only purged the log if the local layout already carried BucketLogType::Deleted. That flag may never arrive once the deleting zone removes its own instance (ceph#70858), so trim aborted with -EINVAL and left bucket.instance metadata orphaned. But an all-peer -ENOENT is also ambiguous: a live bucket whose sync status is not yet initialized looks the same. The Deleted flag is unreliable here, and the local entrypoint is not authoritative during creation (the instance syncs to peers before the entrypoint). So on all-peer -ENOENT, confirm the bucket is really gone by reading its entrypoint from the metadata master, which is authoritative and available immediately on creation; if this zone is the metadata master its local read already suffices. Only on confirmed deletion remove the orphaned instance directly; on any failure, skip and retry on the next trim cycle. Fixes: https://tracker.ceph.com/issues/70858 Signed-off-by: Oguzhan Ozmen <[email protected]> (cherry picked from commit 35135ce)
senolcolak
pushed a commit
to cobaltcore-dev/ceph
that referenced
this pull request
Aug 6, 2026
…ary reshard Adds test_bucket_log_trim_enoent_race_after_reshard to reproduce the exact failure from tracker ceph#70858: when autotrim runs on the primary zone first and fully cleans up (including removing its own bucket.instance metadata), then an autotrim on the secondary zone asks the primary and receives -ENOENT. The secondary hasn't received the BucketLogType::Deleted flag yet (metadata sync is stalled via delay injection), so the current code left StatusShards{generation=0, shards=[]} which caused take_min_status() to fail with -EINVAL, leaving the bucket.instance metadata permanently orphaned. Tests: https://tracker.ceph.com/issues/70858 Signed-off-by: Oguzhan Ozmen <[email protected]>
senolcolak
pushed a commit
to cobaltcore-dev/ceph
that referenced
this pull request
Aug 6, 2026
When a peer returns -ENOENT for a bucket's sync status, the old code only purged the log if the local layout already carried BucketLogType::Deleted. That flag may never arrive once the deleting zone removes its own instance (ceph#70858), so trim aborted with -EINVAL and left bucket.instance metadata orphaned. But an all-peer -ENOENT is also ambiguous: a live bucket whose sync status is not yet initialized looks the same. The Deleted flag is unreliable here, and the local entrypoint is not authoritative during creation (the instance syncs to peers before the entrypoint). So on all-peer -ENOENT, confirm the bucket is really gone by reading its entrypoint from the metadata master, which is authoritative and available immediately on creation; if this zone is the metadata master its local read already suffices. Only on confirmed deletion remove the orphaned instance directly; on any failure, skip and retry on the next trim cycle. Fixes: https://tracker.ceph.com/issues/70858 Signed-off-by: Oguzhan Ozmen <[email protected]>
anthonyeleven
approved these changes
Aug 7, 2026
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
batrick
pushed a commit
that referenced
this pull request
Sep 1, 2026
…ary reshard Adds test_bucket_log_trim_enoent_race_after_reshard to reproduce the exact failure from tracker #70858: when autotrim runs on the primary zone first and fully cleans up (including removing its own bucket.instance metadata), then an autotrim on the secondary zone asks the primary and receives -ENOENT. The secondary hasn't received the BucketLogType::Deleted flag yet (metadata sync is stalled via delay injection), so the current code left StatusShards{generation=0, shards=[]} which caused take_min_status() to fail with -EINVAL, leaving the bucket.instance metadata permanently orphaned. Tests: https://tracker.ceph.com/issues/70858 Signed-off-by: Oguzhan Ozmen <[email protected]> (cherry picked from commit 43518e2)
batrick
pushed a commit
that referenced
this pull request
Sep 1, 2026
When a peer returns -ENOENT for a bucket's sync status, the old code only purged the log if the local layout already carried BucketLogType::Deleted. That flag may never arrive once the deleting zone removes its own instance (#70858), so trim aborted with -EINVAL and left bucket.instance metadata orphaned. But an all-peer -ENOENT is also ambiguous: a live bucket whose sync status is not yet initialized looks the same. The Deleted flag is unreliable here, and the local entrypoint is not authoritative during creation (the instance syncs to peers before the entrypoint). So on all-peer -ENOENT, confirm the bucket is really gone by reading its entrypoint from the metadata master, which is authoritative and available immediately on creation; if this zone is the metadata master its local read already suffices. Only on confirmed deletion remove the orphaned instance directly; on any failure, skip and retry on the next trim cycle. Fixes: https://tracker.ceph.com/issues/70858 Signed-off-by: Oguzhan Ozmen <[email protected]> (cherry picked from commit 35135ce)
AnuragRaut08
pushed a commit
to AnuragRaut08/ceph
that referenced
this pull request
Sep 30, 2026
…ary reshard Adds test_bucket_log_trim_enoent_race_after_reshard to reproduce the exact failure from tracker ceph#70858: when autotrim runs on the primary zone first and fully cleans up (including removing its own bucket.instance metadata), then an autotrim on the secondary zone asks the primary and receives -ENOENT. The secondary hasn't received the BucketLogType::Deleted flag yet (metadata sync is stalled via delay injection), so the current code left StatusShards{generation=0, shards=[]} which caused take_min_status() to fail with -EINVAL, leaving the bucket.instance metadata permanently orphaned. Tests: https://tracker.ceph.com/issues/70858 Signed-off-by: Oguzhan Ozmen <[email protected]>
AnuragRaut08
pushed a commit
to AnuragRaut08/ceph
that referenced
this pull request
Sep 30, 2026
When a peer returns -ENOENT for a bucket's sync status, the old code only purged the log if the local layout already carried BucketLogType::Deleted. That flag may never arrive once the deleting zone removes its own instance (ceph#70858), so trim aborted with -EINVAL and left bucket.instance metadata orphaned. But an all-peer -ENOENT is also ambiguous: a live bucket whose sync status is not yet initialized looks the same. The Deleted flag is unreliable here, and the local entrypoint is not authoritative during creation (the instance syncs to peers before the entrypoint). So on all-peer -ENOENT, confirm the bucket is really gone by reading its entrypoint from the metadata master, which is authoritative and available immediately on creation; if this zone is the metadata master its local read already suffices. Only on confirmed deletion remove the orphaned instance directly; on any failure, skip and retry on the next trim cycle. Fixes: https://tracker.ceph.com/issues/70858 Signed-off-by: Oguzhan Ozmen <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every page on docs.ceph.com rendered a hardcoded 2016 copyright in the footer. Render it as a range ending in the current build year instead.
Fixes: https://tracker.ceph.com/issues/79036
Checklist