Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate task due to Sweeper reading stale workflowModel #208

Open
arorashivam opened this issue Jul 16, 2024 · 0 comments
Open

Duplicate task due to Sweeper reading stale workflowModel #208

arorashivam opened this issue Jul 16, 2024 · 0 comments

Comments

@arorashivam
Copy link

Describe the bug
Duplicate task due to Sweeper reading stale workflowModel

Further debugging details, for e.g.

  1. Sweeper fetches the workflowModel before acquiring the lock.
  2. Meanwhile another thread updates the workflow model and releases the lock.
  3. Sweeper now acquires the lock and triggers the decide using stale workflowModel.

Details
Conductor version: 3.20.0
Persistence implementation: Postgres
Queue implementation: Dynoqueues
Lock: Redis
Workflow definition: N/A
Task definition: N/A
Event handler definition: N/A

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
No duplicate task

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant