Project: datamanagement
Issue DM-2779: Fix race in Foreman
The Foreman implementation passes a TaskQueue pointer corresponding to running tasks down to the task scheduler without holding a lock. This means that the scheduler can inspect the running task list (usually to determine its size) while it is being mutated.
Story points: 2