diff options
| author | Claude <noreply@anthropic.com> | 2026-08-07 19:02:40 -0500 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-08-07 19:02:40 -0500 |
| commit | acde3827f60bc90738429fa490a36a1856a93283 (patch) | |
| tree | ae4b345b30a1308170ffe3e4c00cc1a8360c796b /internal/appmeta/appmeta.go | |
| parent | d1e1c226d9a63432c652d373c039a3ae4430f3a2 (diff) | |
Add per-app flock locking around deploy, config change, rollback, new-app
Nothing previously serialized these against each other, so concurrent
invocations for the same app (a manual config change racing an
in-flight deploy, a double git push, a rollback mid-deploy) could
interleave snapshot/apply/restart/rollback sequences against the same
dataset and jail. The lock file lives under a new LocksDir, outside
any per-app ZFS dataset, since those datasets get rolled back on a
failed health check or a manual rollback.
Diffstat (limited to 'internal/appmeta/appmeta.go')
0 files changed, 0 insertions, 0 deletions
