mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 05:37:53 +00:00
42ac7487e7
We mark when the device is rebooting and avoid some steps in the update cycle that change the device state, similarly to when the device is in local mode, to avoid problems with non-atomic operations. This doesn't solve *all* the potential scenarios of a reboot happening in the middle of an update, but at least should prevent the case where we start an app container and reboot the device before saving the containerId, potentially causing a duplicated container issue. We also correct the API docs to reflect the 202 response when reboot or shutdown are successful. Change-Type: patch Signed-off-by: Pablo Carranza Velez <pablo@resin.io> |
||
---|---|---|
.. | ||
API.md | ||
dependent-apps.md | ||
update-locking.md |