You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
During execution of the job, the server receive kill -9 signal. After the server will start, any job for this worker can't be processed.
Expected behavior
New incoming jobs for the worker can be process
Current behavior
New incoming jobs are start processing but not execute worker code
Hi @fist28, add a lock_expiration to your lock; that way, it will automatically be created with expiration and expire. Unfortunately, in a kill -9 situation, there is nothing I can do. Even an ensure block won't help me there, so please, send use proper signals instead to allow sidekiq to cleanup. I already have cleanup for with_executing since these jobs should never keep the lock afterward.
Describe the bug
During execution of the job, the server receive kill -9 signal. After the server will start, any job for this worker can't be processed.
Expected behavior
New incoming jobs for the worker can be process
Current behavior
New incoming jobs are start processing but not execute worker code
Versions
Worker class
Example
Before start the test I clear redis keys.
The job after
Killed
is a new oneRedis keys:
If I remove the key
uniquejobs:f46bc25dd7800206da7159bd516aa7e1:RUN:EXISTS
, the queue will be unlocked.The problem can by solve by the gem https://github.com/restaurant-cheetah/sidekiq_unique_digests_cleaner but it's a bug in this gem I think
The text was updated successfully, but these errors were encountered: