Support exiting of parallel block on first completed task #1261
Labels
enhancement
Improves the status quo
good first issue
Small, contained changes that are good for newcomers
:Load Driver
Changes that affect the core of the load driver such as scheduling, the measurement approach etc.
Milestone
The parallel element provides a completed-by property but this only works if the task that should determine the exit condition is known upfront.
The proposal is that that we add a new property e.g. complete-on-first-task-completed. This would cause a parallel block to exit as soon as one task exits.
This is useful when running queries in parallel for example. As soon as one task exits the load reduces overall, invalidating all subsequent executions by other tasks. This would ensure a clean exit.
Note the naming above is a proposal by @danielmitterdorfer only and we're open to suggested better ones.
The text was updated successfully, but these errors were encountered: