resque / resque/resque-scheduler

Updating to v4.2.0+ "loses" schedules

Open
#563 7 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

A recently-introduced change to the redis schema caused some unexpected behavior for at least one person when updating, as the schedules in redis appeared to have vanished. Manually renaming the key to match the new schema restored the schedules.

Preventing such surprises is a nice thing to do. I believe that adding something to the docs, change log, and maybe even adding a migration script would be nice, too. Thoughts? 💖

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 by reviewing pull request #535 and the Redis schedule key schema it introduced. Check the existing documentation and changelog guidance for upgrades, then determine whether a migration script is needed for old keys. Done means upgrades no longer make schedules appear missing, with the change and recovery path documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
redis, ruby
Domain
backend, databases, documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.