Files
kshitijk4poor f84eb589ea fix(local-runtime): a crashed router's empty group is released before the restart backoff
The watcher noticed a crashed router, waited out the restart backoff (up to 60 s) and only then
called stop_owned_group_survivors, which signals a group because its number is still in the
registered set. When the crash left nothing in the group, that number was free for reuse for the
whole backoff while still registered, so a stranger's group that got it would be sent TERM and then
KILL. The watcher now releases an already-empty group as soon as it sees the crash; a group with
survivors stays registered, and its number cannot be reused while they run.

Test: a router stand-in that exits at once is no longer registered when the backoff starts; fails
without the release.
2026-10-29 16:58:09 +05:30
..
…