[SIGNIFICANT] prepare_restart leaves gap with no monitoring or log capture #26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
During
prepare_restart, services are left as orphans while the old server exits and the new one starts. The reconnection process has several issues:Impact
If a critical service crashes during the restart window, it goes undetected until the new supervisor polls. Log history from the old instance is lost.
Files
crates/my_init_server/src/main.rs--PrepareRestarthandlingcrates/my_init_server/src/supervisor/mod.rs--reconnect_restored_servicesSuggested Fix
Per the issue description: during restart gap no health checks or monitoring runs. A service crash goes undetected. Ring buffer logs are lost when the new server initializes a fresh buffer.