Repository navigation
osd: Correct missing list on divergent merge of partial writes - #68727
Conversation
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
bill-scales
left a comment
There was a problem hiding this comment.
LGTM - as you've got to re-base can you fix the comment in TestECFailoverWithPeering to reference the correct tracker ticker
| } | ||
|
|
||
| if (missing.is_missing(hoid)) { | ||
| /// Case 3) |
There was a problem hiding this comment.
ACK: If the only divergent updates are partial writes and the object is missing then we still need to update the missing list
| } | ||
| } | ||
| if (entries.empty()) { | ||
| if (!prior_version_opt) { |
There was a problem hiding this comment.
ACK: Even if entries is empty we still need to continue for case 3) below
| * Test rollback after a sequence of blocked full-stripe and chunk writes. | ||
| * This is a similar scenario to the previous test, but we force the shard | ||
| * to do a sync, rather than async recovery at the end. | ||
| * Recreate for tracker https://tracker.ceph.com/issues/75211 |
There was a problem hiding this comment.
Wrong tracker - I think you mean https://tracker.ceph.com/issues/75962
…ist when merged. When a log was applied for a partial write to an object that is async recovering, the log will be rolled forward and the missing list updated. If this log becomes divergent, then we must rollback the update to the missing list in the merge. Fixes: https://tracker.ceph.com/issues/75962 Signed-off-by: Alex Ainscow <[email protected]>
This function is difficult to review, because of the use of tabs. This change replaces each tab with 8 spaces. Signed-off-by: Alex Ainscow <[email protected]>
|
@aainscow were the changes trivial here? It's unclear if this needs to be retested. |
|
@ljflores It was a comment change only, in a test harness, so no need to retest. |
|
@aainscow Testing has been completed. If a re-run is needed, please add the |
|
This is an automated message by src/script/redmine-upkeep.py. I have resolved the following tracker ticket due to the merge of this PR: No backports are pending for the ticket. If this is incorrect, please update the tracker |
With recent fixes to divergent log merging, a regression was introduced whereby a partial write would be rolled forward, updating the missing list, then not rolled back during divergent log merge.
Fixes: https://tracker.ceph.com/issues/75962
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. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.