balena-supervisor/docs
Pablo Carranza Velez 42ac7487e7 When the device is about to reboot or shutdown, close the API server and avoid applying updates
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>
2017-07-27 20:07:24 -03:00
..
API.md When the device is about to reboot or shutdown, close the API server and avoid applying updates 2017-07-27 20:07:24 -03:00
dependent-apps.md Deprecate edge device type 2017-07-05 10:20:26 +01:00
update-locking.md Issue #20: Change the update lock to a temporary filesystem 2017-03-10 01:19:35 +02:00