Skip to content

Instantly share code, notes, and snippets.

@pietern
Created May 5, 2012 00:49
Show Gist options
  • Save pietern/2598832 to your computer and use it in GitHub Desktop.
Save pietern/2598832 to your computer and use it in GitHub Desktop.

You may be affected by this bug when the sorted sets you use contain integer members in the 24-bit signed range (+/- ~8 million). If the 2.6 RC server already took writes to these sorted sets, they may be corrupted (contain duplicates).

Running 2.6 RC, fresh instance

Nothing to worry about. You're good to go!

Running 2.6 RC, loaded dump from 2.4

If possible, use the original 2.4 dump, upgrade the 2.6 RC process to the code listed below, and restart Redis loading the dataset from the 2.4 dump.

Running 2.6 RC as slave from 2.4 master

Upgrade the 2.6 RC process to the code listed below, restart the 2.6 RC instance, and let it re-sync with the 2.4 master.

Fixed code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment