Commit d167cd1
committed
fix(node-upgrade): cycle s6-rc down→up on startNodes to fix upgrade restart
After FREEZE_COMPLETE the Hedera JVM exits with code 0. The finish script
in the s6-rc container calls s6-svc -O so s6-supervise does not auto-restart.
s6-rc still considers the service 'up', so issuing s6-rc -u change network-node
was a no-op and the node never restarted after the upgrade, causing the
checkAllNodesAreActive poll to time out.
Add s6-rc -d before s6-rc -u so the service is explicitly cycled through
down→up regardless of its prior state in s6-rc's state machine.1 parent 900017f commit d167cd1
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1864 | 1864 | | |
1865 | 1865 | | |
1866 | 1866 | | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
1867 | 1872 | | |
1868 | 1873 | | |
1869 | 1874 | | |
| |||
0 commit comments