boomerang-io / community

The Boomerang community, roadmap, planning, and architecture repository. The central place for information on joining, contributing, and governance.
https://useboomerang.io
Apache License 2.0
11 stars 0 forks source link

Engine - Update acquireTaskLock with prefix for Team or User context so that the lock is not system wide #382

Open tlawrie opened 1 year ago

tlawrie commented 1 year ago

The current acquireTaskLock is System wide as there is no context of User / Team / System that is passed in that needs to be available to make it specific. https://github.com/boomerang-io/flow.service.engine/blob/a733c7d2482161c6bca6113093a4b5febcb2f7a2/src/main/java/io/boomerang/service/LockManagerImpl.java#L52-L80

tlawrie commented 1 year ago

Best solution would be to prefix field with a system parameter that is resolved before execution.