-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Due to concurrent polling there were duplicate jobs being spawned. This behaviour is caused because there is no row locking mechanism in place. So when multiple instance ran concurrently they could end up selecting the same messages leading to duplicates
this is the query which i have identified is causing the issue.
Potential Fix:
Use FOR UPDATE to lock the selected rows to prevent concurrent access.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels