Repository navigation
Optimised EC: Ignore snapshot scrubbing on non-primary shards - #63843
Conversation
|
jenkins retest this please |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
@aainscow looks like this needs a rebase. |
Signed-off-by: Alex Ainscow <[email protected]>
|
jenkins retest this please |
| dout(15) << "_scan_snaps starts" << dendl; | ||
|
|
||
| for (auto i = smap.objects.rbegin(); i != smap.objects.rend(); ++i) { | ||
| if (!m_pg.get_is_nonprimary_shard(m_pg_whoami)) { |
There was a problem hiding this comment.
My understanding on why SS_ATTR can be missed on non-primary shards is simply that the attrs update (resulting from e.g. PrimaryLogPG::_finish_ctx()) doesn't happen for them.
|
jenkins test make check |
|
jenkins retest this please |
|
@aainscow I'm currently investigating a "stats mismatch" error that might be related to this PR: /a/yuriw-2025-06-28_18:55:21-rados-wip-yuri-testing-2025-06-28-0812-distro-default-smithi/8355161 I'm rerunning the affected test 10x here: http://pulpito.ceph.com/lflores-2025-07-08_21:11:05-rados-wip-yuri-testing-2025-06-28-0812-distro-default-smithi/ Can you take a look while investigation is pending? |
We will look tomorrow. We have been seeing this quite a bit with EC optimizations on and blaming new-EC-specific code, so a bit worrying that this is happening on old-EC. |
|
(Re scrub issue) We have reviewed the failure and we are confident that this is not a regression from this PR. It is possible that other EC peering changes have caused this issue, so it needs some extra debug for when it next occurs. @JonBailey1993 I believe is going to be looking into this in more detail and adding some more debugging, so we can catch it next time. |
I added a new ticket to track the issue here: https://tracker.ceph.com/issues/72051 |
https://tracker.ceph.com/issues/71815
New EC does not write SS_ATTR to the non primary shards (since it is not needed). The scrub code was, however, flagging up errors if SS_ATTR was not present.
This PR suppresses those error messages.
REVIEWERs: Only the latest commit needs review.
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 Definition