Commit ba95374
authored
Handle final live-repair flush being skipped on all downstairs (#1783)
If live-repair submits its final flush while all downstairs are faulted,
then the flush is skipped on every downstairs. This means that it's
immediately retired from `ds_active`, so subsequent calls to
`check_and_continue_live_repair` will never see it as complete. The
live-repair state is stuck at `Some(LiveRepairState::FinalFlush { .. })`
forever.
This PR adds a check for this special case!1 parent d597617 commit ba95374
1 file changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1269 | 1269 | | |
1270 | 1270 | | |
1271 | 1271 | | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
1272 | 1289 | | |
1273 | 1290 | | |
1274 | | - | |
1275 | | - | |
1276 | | - | |
| 1291 | + | |
1277 | 1292 | | |
1278 | 1293 | | |
1279 | 1294 | | |
| |||
0 commit comments