Skip to content

Commit 3e92571

Browse files
jaomaloyjaomaloy
authored andcommitted
Add update locks section on hostOS updates
Change-type: patch
1 parent 1a4b21a commit 3e92571

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pages/reference/OS/updates/self-service.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ Update time can vary significantly, depending on the speed of your network, the
3333

3434
If your {{ $names.os.lower }} update fails for any reason, the device should still be recoverable. For devices running {{ $names.os.lower }} 2.x, the user application should still be running normally, and the reasons for failure can be examined through the update logs at `/mnt/data/balenahup/` (or potentially the legacy location `/mnt/data/resinhup/`). If you have any issues, please contact us on the [troubleshooting section of the forums][troubleshooting].
3535

36+
## Update locks
37+
38+
[Update locks](https://docs.balena.io/learn/deploy/release-strategy/update-locking/) is a mechanism that allows applications to enter critical sections of code and prevent updates that would interrupt the application from running. Update locks can also be used to delay the reboot that applies a hostOS update operation until the application exits the critical section by removing the update locks. [Overriding update locks](https://docs.balena.io/learn/deploy/release-strategy/update-locking/#overriding-the-lock) will ignore existing locks and allow a hostOS update process to proceed with a reboot.
39+
40+
3641
You can learn more about what exactly goes on during the update process [here][update-process].
3742

3843
<!-- links -->

0 commit comments

Comments
 (0)