resque / resque/resque-scheduler

ERR MULTI calls can not be nested in release 4.9.0

Open
#773 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
1.7k
Forks
477
PR merge metrics
No merged PRs in 30d

Description

I am experiencing the following error after upgrading to 4.9.0:

Redis::CommandError: ERR MULTI calls can not be nested

Caused by:

gems/resque-scheduler-4.9.0/lib/resque/scheduler.rb:253 block in enqueue_items_in_batch_for_timestamp

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at gems/resque-scheduler-4.9.0/lib/resque/scheduler.rb:253, where the reported error occurs during enqueue_items_in_batch_for_timestamp. Reproduce the failure with release 4.9.0 and inspect the surrounding batch-enqueue flow for nested MULTI calls. Done means the batch operation no longer raises Redis::CommandError: ERR MULTI calls can not be nested.

Written by the indexing model from the issue text.

Assessment

Tech stack
redis, ruby
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.