contribsys / faktory

Language-agnostic persistent background job server
https://contribsys.com/faktory/
Other
5.78k stars 230 forks source link

Duplicate JIDs don't get cleared from the busy section #416

Closed pingu-codes closed 2 years ago

pingu-codes commented 2 years ago

Not many error messages or stacktraces to accompany this. Running community edition so we know unique jobs aren't supported, however it seems as if duplicate JIDs will get stuck in "busy" and only one will be removed from the busy queue when a task is complete, therefore slowly filling up the busy queue

mperham commented 2 years ago

Duplicate JIDs are illegal. You'll get undefined behavior. Every job must have a unique JID