Repository navigation
osd: handle BackfillTooFull in state ReplicaActive - #69048
Conversation
ljflores
left a comment
There was a problem hiding this comment.
@jzhu116-bloomberg can you add steps to reproduce this issue to the commit? Also, how about adding a unit test?
| @@ -6136,6 +6136,15 @@ void PeeringState::RepWaitBackfillReserved::exit() | |||
| pl->get_peering_perf().tinc(rs_repwaitbackfillreserved_latency, dur); | |||
| } | |||
|
|
|||
| boost::statechart::result | |||
| PeeringState::RepWaitBackfillReserved::react(const BackfillTooFull &) | |||
There was a problem hiding this comment.
The linked bug tracker is about BackfillTooFull in the RepNotRecovering, not RepWaitBackfillReserved. Could you please explain that?
There was a problem hiding this comment.
In this PR, a BackfillTooFull handler is added to the ReplicaActive for the nested states to fall to if they don't have their own handlers. Both RepNotRecovering and RepWaitBackfillReserved don't have a handler for BackfillTooFull, hence need to fall to the default handler in ReplicaActive. However the default handler in ReplicaActive, where the event is discarded, doesn't sound correct for the RepWaitBackfillReserved so I added a specific one to handle the event properly.
…itBackfillReserved Signed-off-by: Jane Zhu <[email protected]>
16c5d97 to
d4c1b62
Compare
Unit tests have been added in d4c1b62 |
|
ACK, will take another look! |
|
This PR has been added to wip-bharath2-testing-20260727.155959-main. |
|
Sorry for the delay here, the person assigned to review wasn't available. |
Fixes: https://tracker.ceph.com/issues/76751
Signed-off-by: Jane Zhu [email protected]
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.