RDB files now embed a crc64 checksum. Version of RDB bumped to 5.

This commit is contained in:
antirez
2012-04-09 22:40:41 +02:00
parent 8491f1d9fd
commit 82e32055d8
2 changed files with 25 additions and 2 deletions

View File

@ -9,7 +9,7 @@
/* The current RDB version. When the format changes in a way that is no longer
* backward compatible this number gets incremented. */
#define REDIS_RDB_VERSION 4
#define REDIS_RDB_VERSION 5
/* Defines related to the dump file format. To store 32 bits lengths for short
* keys requires a lot of space, so we check the most significant 2 bits of