Skip to content

tentacle: osd: PGLog Attach correct version to missing list when ignoring log entries - #68718

Merged
batrick merged 1 commit into
ceph:tentaclefrom
aainscow:wip-75583-tentacle
May 15, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
aainscow:wip-75583-tentacle

Conversation

@aainscow

@aainscow aainscow commented May 1, 2026

Copy link
Copy Markdown
Contributor

@aainscow
aainscow requested a review from a team as a code owner May 1, 2026 14:26
@aainscow aainscow added this to the tentacle milestone May 1, 2026
@aainscow
aainscow requested review from bill-scales and rzarzynski May 1, 2026 16:20
@batrick batrick added releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-fail Release engineering: failed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-fail Release engineering: failed backport verification audit. labels May 2, 2026
batrick
batrick previously requested changes May 2, 2026

@batrick batrick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated Backport Parity Review - Invalid Commit Format

Commit 51ecb201 has an invalid format. Backport commits must either include a standard (cherry picked from commit ...) line or start with the target branch name (e.g., tentacle:).

Commit Parity Visualizer:

================================================================================
COMMIT PARITY VISUALIZER
================================================================================
BACKPORT PR #68718                             SOURCE PR / STATUS
--------------------------------------------------------------------------------
[ 51ecb201 ] osd: PGLog Attach correct...      <<<< EXTRA IN BACKPORT >>>>
================================================================================

When you are ready for this to be reviewed and QA'd again, please add the pdonnell-tentacle-RFA label to this PR.

@batrick batrick added releng-audit-fail Release engineering: failed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. labels May 2, 2026
@aainscow
aainscow force-pushed the wip-75583-tentacle branch from 51ecb20 to 94a4a7c Compare May 6, 2026 09:59
@github-actions github-actions Bot mentioned this pull request May 6, 2026
14 tasks
@batrick

batrick commented May 8, 2026

Copy link
Copy Markdown
Member

Is aainscow@df58a39 not in main?

…ntries

A previous fix for PR 66698 fixed an issue where log entries associated with
partial writes were being processed incorrectly (see that PR and associated
tracker for details).  The fix was to ignore log entries that should not have
been present on the non-primary shard.

The problem with that approach is that in a more complex scenario, where the
log contained a partial write, followed by a full write AND the shard is
backfilling, then the missing list was being given the version prior to the
full write, rather than prior to the clone.

Our fix here corrects how the missing list version is calculated.

See the associated tracker for instructions on how to recreate

Conflicts:
	a/src/test/osd/TestECFailoverWithPeering.cc

Unittest not backported because it is based on a new framework in Umbrella

Fixes: https://tracker.ceph.com/issues/75211
Signed-off-by: Alex Ainscow <[email protected]>
(cherry picked from commit 7967f28)
@aainscow
aainscow force-pushed the wip-75583-tentacle branch from 94a4a7c to 6568b29 Compare May 8, 2026 16:37
@aainscow

aainscow commented May 8, 2026

Copy link
Copy Markdown
Contributor Author

Is aainscow@df58a39 not in main?

No... Looks like I had to rebase after the backport. Sorry... I thought I fixed that last time...

Trying again.

@batrick batrick added the releng-audit-pass Release engineering: passed backport verification audit. label May 8, 2026
@batrick
batrick dismissed their stale review May 8, 2026 16:42

addressed

@batrick

batrick commented May 8, 2026

Copy link
Copy Markdown
Member

Is someone QA'ing this?

@aainscow aainscow removed the releng-audit-fail Release engineering: failed backport verification audit. label May 12, 2026
@lee-j-sanders

Copy link
Copy Markdown
Member

@batrick batrick removed the releng-audit-pass Release engineering: passed backport verification audit. label May 15, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated Backport Parity Review - Backport Deviation Alert

A conflict or unapproved deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.

Deviation in Backport 6568b290 (cherry-pick of 7967f28c)

Affected File(s)

Range Diff

Click to expand
--- Original (7967f28c)
+++ Backport (6568b290)
@@ -14,5 +14,11 @@
 
 See the associated tracker for instructions on how to recreate
 
+Conflicts:
+	a/src/test/osd/TestECFailoverWithPeering.cc
+
+Unittest not backported because it is based on a new framework in Umbrella
+
 Fixes: https://tracker.ceph.com/issues/75211
 Signed-off-by: Alex Ainscow <[email protected]>
+(cherry picked from commit 7967f28c774f3f3830f10e02e88d6ef3e82b9f82)

================================================================================
RANGE DIFF
================================================================================

1:  7967f28c774 ! 1:  6568b290c12 osd: PGLog Attach correct version to missing list when ignoring log entries
    @@ Commit message
     
         See the associated tracker for instructions on how to recreate
     
    +    Conflicts:
    +            a/src/test/osd/TestECFailoverWithPeering.cc
    +
    +    Unittest not backported because it is based on a new framework in Umbrella
    +
         Fixes: https://tracker.ceph.com/issues/75211
         Signed-off-by: Alex Ainscow <[email protected]>
    +    (cherry picked from commit 7967f28c774f3f3830f10e02e88d6ef3e82b9f82)
     
      ## src/osd/PGLog.cc ##
     @@ src/osd/PGLog.cc: void PGLog::proc_replica_log(
    @@ src/osd/PGLog.h: protected:
          const eversion_t first_divergent_update = entries.begin()->version;
          const eversion_t last_divergent_update = entries.rbegin()->version;
          const bool object_not_in_store =
    -
    - ## src/test/osd/TestECFailoverWithPeering.cc ##
    -@@ src/test/osd/TestECFailoverWithPeering.cc: TEST_P(TestECFailoverWithPeering, DISABLED_MultiObjectParallelRecoveryCrash) {
    -  */
    - TEST_P(
    -   TestECFailoverWithPeering,
    --  DISABLED_RollbackAfterMixedBlockedWritesWithOSDFailure
    -+  RollbackAfterMixedBlockedWritesWithOSDFailure
    - ) {
    -   if (m < 2) {
    -     GTEST_SKIP() << "RollbackAfterMixedBlockedWritesWithOSDFailure requires m >= 2";
    -@@ src/test/osd/TestECFailoverWithPeering.cc: TEST_P(
    -  */
    - TEST_P(
    -   TestECFailoverWithPeering,
    --  DISABLED_RollbackAfterMixedBlockedWritesWithOSDFailure2
    -+  RollbackAfterMixedBlockedWritesWithOSDFailure2
    - ) {
    -   if (m < 2) {
    -     GTEST_SKIP() << "RollbackAfterMixedBlockedWritesWithOSDFailure requires m >= 2";

How to proceed:

  • Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git Conflicts: block intact) and include an explanation for changes.
  • Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
  • Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting /audit override.

Be familiar with the rules and guidelines for writing backports.


Commit Parity Visualizer

BACKPORT PR #68718 SOURCE PR SOURCE STATUS
6568b29 osd: PGLog Attach correct version to missing list when ignoring log entries PR #67870 7967f28 osd: PGLog Attach correct version to missing list when ignoring log entries

🛟 Need Help?

If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.

📋 Component Lead / Release Manager

To override the audit failure, apply releng-audit-override label or comment /audit override.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

CI Run Log: View Workflow Details

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label May 15, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label May 15, 2026

@batrick batrick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@batrick
batrick merged commit c0c015b into ceph:tentacle May 15, 2026
7 of 8 checks passed
@batrick batrick modified the milestones: tentacle, v20.2.2 May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants