Biggest zset found 'q:production:jobs' has 640623 members
- Dominant language
- JavaScript
- Stars
- 9.4k
- Forks
- 858
- PR merge metrics
- No merged PRs in 30d
Description
I'm not really sure where things are going wrong, and I will admit our job servers force reboot without using kue.shutdown (because that doesn't work and they keep consuming new jobs anyway).
There are currently a total of < 100 jobs in KUE of any status. Why are there 640000 members of this ZSET? How can I completely wipe all of KUE's entries from redis, starting fresh?
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files, tests, or entry points are named. Start by examining the q:production:jobs Redis sorted set and the reported Kue shutdown behavior, then trace how Kue removes completed or abandoned jobs. Done means identifying why the member count diverges from visible jobs and documenting a safe way to clear Kue's Redis entries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, redis
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100