mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
In #23663 we fixed the template hook so that `change_mode="script"` didn't lose track of the task handle during restores. But this revealed a second bug which is that access to the handle is not locked while in use, which can allow it to be removed concurrently. Fixes: https://github.com/hashicorp/nomad/issues/23875