RetailMeNotSandbox / dart

Self-service data workflow management
MIT License
17 stars 12 forks source link

Add mutex lock to transitioning actions to QUEUED. #100

Closed BenBlaisdell closed 7 years ago

BenBlaisdell commented 7 years ago

This fixes a race condition causing multiple actions under a single workflow instance to run at once when there are several actions finishing under a datastore with concurrency > 1.

BenBlaisdell commented 7 years ago

Upon further research, it looks like there is only a single trigger worker thread of execution.