Repository navigation
Commit 001b2c4
fix(server): hold the update lock through a queued restart handoff
With --no-block the restart fiber completes while the old process is
still shutting down; the unconditional ensuring released the in-flight
lock at that point, letting a second update rewrite the unit
mid-teardown. Release the lock only on the failure path, after the
rollback has restored the previous unit.
Co-Authored-By: Claude Fable 5 <[email protected]>1 parent 513de4c commit 001b2c4
2 files changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
553 | 561 | | |
554 | 562 | | |
555 | 563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
397 | 402 | | |
398 | 403 | | |
399 | | - | |
400 | 404 | | |
401 | 405 | | |
402 | 406 | | |
| |||
0 commit comments