breamware / sidekiq-batch

Sidekiq Batch Jobs Implementation
MIT License
357 stars 95 forks source link

Redis::CommandError: WRONGTYPE Operation against a key holding the wrong kind of value #31

Closed ezhenezhen closed 4 years ago

ezhenezhen commented 5 years ago

any idea?

ruby 2.6.2, redis 5.0.5, sidekiq-batch (0.1.5), sidekiq (5.2.7), rails (5.2.3)

image

looks to be failing here: image

Redis::CommandError: WRONGTYPE Operation against a key holding the wrong kind of value from redis/pipeline.rb:156:in value' from redis/pipeline.rb:148:in_set' from redis/pipeline.rb:75:in block in finish' from redis/pipeline.rb:74:ineach' from redis/pipeline.rb:74:in each_with_index' from redis/pipeline.rb:74:ineach' from redis/pipeline.rb:74:in map' from redis/pipeline.rb:74:infinish' from redis/pipeline.rb:98:in finish' from redis/client.rb:164:inblock in call_pipeline' from redis/client.rb:306:in with_reconnect' from redis/client.rb:162:incall_pipeline' from redis.rb:2462:in block in multi' from redis.rb:52:inblock in synchronize' from monitor.rb:230:in mon_synchronize' from redis.rb:52:insynchronize' from redis.rb:2454:in multi' from sidekiq/batch/callback.rb:45:inblock in complete' from sidekiq.rb:97:in block in redis' from connection_pool.rb:65:inblock (2 levels) in with' from connection_pool.rb:64:in handle_interrupt' from connection_pool.rb:64:inblock in with' from connection_pool.rb:61:in handle_interrupt' from connection_pool.rb:61:inwith' from sidekiq.rb:94:in redis' from sidekiq/batch/callback.rb:44:incomplete' from sidekiq/batch/callback.rb:18:in perform' from sidekiq/processor.rb:192:inexecute_job' from sidekiq/processor.rb:165:in block (2 levels) in process' from sidekiq/middleware/chain.rb:128:inblock in invoke' from sidekiq/batch/middleware.rb:30:in call' from sidekiq/middleware/chain.rb:130:inblock in invoke' from raven/integrations/sidekiq.rb:9:in call' from sidekiq/middleware/chain.rb:130:inblock in invoke' from sidekiq/middleware/chain.rb:133:in invoke' from sidekiq/processor.rb:164:inblock in process' from sidekiq/processor.rb:137:in block (6 levels) in dispatch' from sidekiq/job_retry.rb:109:inlocal' from sidekiq/processor.rb:136:in block (5 levels) in dispatch' from sidekiq/rails.rb:43:inblock in call' from active_support/execution_wrapper.rb:87:in wrap' from active_support/reloader.rb:73:inblock in wrap' from active_support/execution_wrapper.rb:87:in wrap' from active_support/reloader.rb:72:inwrap' from sidekiq/rails.rb:42:in call' from sidekiq/processor.rb:132:inblock (4 levels) in dispatch' from sidekiq/processor.rb:250:in stats' from sidekiq/processor.rb:127:inblock (3 levels) in dispatch' from sidekiq/job_logger.rb:8:in call' from sidekiq/processor.rb:126:inblock (2 levels) in dispatch' from sidekiq/job_retry.rb:74:in global' from sidekiq/processor.rb:125:inblock in dispatch' from sidekiq/logging.rb:48:in with_context' from sidekiq/logging.rb:42:inwith_job_hash_context' from sidekiq/processor.rb:124:in dispatch' from sidekiq/processor.rb:163:inprocess' from sidekiq/processor.rb:83:in process_one' from sidekiq/processor.rb:71:inrun' from sidekiq/util.rb:16:in watchdog' from sidekiq/util.rb:25:inblock in safe_thread'

github-actions[bot] commented 4 years ago

Stale issue message