Hi guys! Does the `ConcurrencyPolicy` implementati...
# flyte-support
b
Hi guys! Does the
ConcurrencyPolicy
implementation no longer exist? Looking at the
LaunchPlan.get_or_create(..)
implementation, I see that
concurrency
isn't allowed. Ref: https://www.union.ai/docs/v1/flyte/user-guide/core-concepts/launch-plans/concurrency-control/#defining-the-policy
c
It is implemented on the server side but hasn't made it into flytekit yet. I think the docs landed separately.
b
ok, so do I have to go back to a previous version where it still exists?
c
The functionality hasn't landed in flytekit so there is no version where it exists
b
ok i understand, is there any way to avoid simultaneous executions in a launch plan?
c
Not that I am aware of
🙁 1
There is one hack that I know of. If you enable caching for a task that has no outputs it will force executions of the task to be sequential (even tho there are no outputs to cache). But this is just abuse of a bug and only works for a single task.
b
Ok thanks, something is not clear to me: Will
ConcurrencyPolicy
be added in future versions?
c
Yes, the PR i linked has to land and a release has to be cut
👍 1