Repository navigation
tentacle: osd: PGLog Attach correct version to missing list when ignoring log entries - #68718
Conversation
batrick
left a comment
There was a problem hiding this comment.
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.
51ecb20 to
94a4a7c
Compare
|
Is aainscow@df58a39 not in |
…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)
94a4a7c to
6568b29
Compare
No... Looks like I had to rebase after the backport. Sorry... I thought I fixed that last time... Trying again. |
|
Is someone QA'ing this? |
There was a problem hiding this comment.
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)
src/test/osd/TestECFailoverWithPeering.cc
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.
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
backport tracker: https://tracker.ceph.com/issues/75583
backport of #67870
parent tracker: https://tracker.ceph.com/issues/75211
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh