mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
The way the copying was happening on the alloc_runner was by temporarily setting the alloc.Job to nil, copying and then restoring it. This created an issue in which when the alloc was shared (which it is in server/client mode and between alloc_runner/task_runner) there were race conditions that could create a panic. Fixes https://github.com/hashicorp/nomad/issues/2605
25 KiB
25 KiB