Commit eddf95e
authored
[DPE-10454] Use better status instead of blocked for transient update failures (#1795)
* [DPE-10454] Use better status instead of blocked for transient update failures
Use maintenance/waiting status instead of blocked one.
The 'failed to update cluster members on member' BlockedStatus was
misleading: these are transient, self-recovering conditions (a RetryError
from update_config(), or a peer IP not yet published) rather than states
needing operator intervention. Replace them with MaintenanceStatus /
WaitingStatus and a 'updating cluster members' message.
Update test_on_peer_relation_changed accordingly, and set an explicit
BlockedStatus before exercising the early-exit guard so that path stays
covered.
Assisted-by: Claude:claude-5-fable
* [DPE-10454] Apply comments from review1 parent 61d8adb commit eddf95e
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1254 | 1254 | | |
1255 | 1255 | | |
1256 | 1256 | | |
1257 | | - | |
| 1257 | + | |
1258 | 1258 | | |
1259 | 1259 | | |
1260 | 1260 | | |
| |||
1473 | 1473 | | |
1474 | 1474 | | |
1475 | 1475 | | |
1476 | | - | |
| 1476 | + | |
1477 | 1477 | | |
1478 | | - | |
| 1478 | + | |
1479 | 1479 | | |
1480 | 1480 | | |
1481 | 1481 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2246 | 2246 | | |
2247 | 2247 | | |
2248 | 2248 | | |
2249 | | - | |
| 2249 | + | |
2250 | 2250 | | |
2251 | 2251 | | |
2252 | 2252 | | |
2253 | 2253 | | |
| 2254 | + | |
2254 | 2255 | | |
2255 | 2256 | | |
2256 | 2257 | | |
| |||
2524 | 2525 | | |
2525 | 2526 | | |
2526 | 2527 | | |
2527 | | - | |
| 2528 | + | |
2528 | 2529 | | |
2529 | 2530 | | |
2530 | 2531 | | |
2531 | | - | |
2532 | | - | |
| 2532 | + | |
2533 | 2533 | | |
2534 | 2534 | | |
2535 | 2535 | | |
| |||
0 commit comments