• antirez's avatar
    RESTORE: accept RDB dumps with older versions. · a3f893b8
    antirez authored
    Reference issue #3218.
    
    Checking the code I can't find a reason why the original RESTORE
    code was so opinionated about restoring only the current version. The
    code in to `rdb.c` appears to be capable as always to restore data from
    older versions of Redis, and the only places where it is needed the
    current version in order to correctly restore data, is while loading the
    opcodes, not the values itself as it happens in the case of RESTORE.
    
    For the above reasons, this commit enables RESTORE to accept older
    versions of values payloads.
    a3f893b8
cluster.c 206 KB