In the decoder's decode method, once a key is read that has an expiry that expiry will be provided to every single object read afterwards. For someone trying to restore a Redis DB from the RDB file, this would be a Bad Thing. I will make a PR ASAP as the fix is easy.