antirez
75f0cd6520
Diskless replication: RDB -> slaves transfer draft implementation.
2014-10-14 10:11:29 +02:00
guiquanz
9d09ce3981
Fixed many typos.
2013-01-19 10:59:44 +01:00
antirez
4365e5b2d3
BSD license added to every C source and header file.
2012-11-08 18:31:32 +01:00
antirez
b16e423430
No longer used macro rdbIsOpcode() removed.
2012-10-30 19:10:46 +01:00
Alex Mitrofanov
51857c7e5c
Fixed RESTORE hash failure (Issue #532 )
...
(additional commit notes by antirez@gmail.com ):
The rdbIsObjectType() macro was not updated when the new RDB object type
of ziplist encoded hashes was added.
As a result RESTORE, that uses rdbLoadObjectType(), failed when a
ziplist encoded hash was loaded.
This does not affected normal RDB loading because in that case we use
the lower-level function rdbLoadType().
The commit also adds a regression test.
2012-06-02 10:24:27 +02:00
Grisha Trubetskoy
5a86ab4799
Add a 24bit integer to ziplists to save one byte for ints that can
...
fit in 24 bits (thanks to antirez for catching and solving the two's compliment
bug).
Increment REDIS_RDB_VERSION to 6
2012-04-24 12:02:19 +02:00
antirez
82e32055d8
RDB files now embed a crc64 checksum. Version of RDB bumped to 5.
2012-04-09 22:40:41 +02:00
antirez
d0ace5a314
Write RDB magic using a REDIS_RDB_VERSION define that is defined inside rdb.h
2012-03-31 17:08:40 +02:00
Pieter Noordhuis
ebd85e9a45
Encode small hashes with a ziplist
2012-01-02 22:14:10 -08:00
antirez
dab5332f95
Fixed a few typos
2011-11-09 21:59:27 +01:00
antirez
7dcc10b65e
Initial support for key expire times with millisecond resolution. RDB version is now 3, new opcoded added for high resolution times. Redis is still able to correctly load RDB version 2. Tests passing but still a work in progress. API to specify milliseconds expires still missing, but the precision of normal expires is now already improved and working.
2011-11-09 16:51:19 +01:00
Pieter Noordhuis
221782ccc6
Move rdbLoad* to top; update comments
2011-05-13 23:24:19 +02:00
Pieter Noordhuis
f1d8e4968e
Make RDB types/opcodes explicit; load/save object type
2011-05-13 22:14:39 +02:00
Pieter Noordhuis
2e4b0e7727
Abstract file/buffer I/O to support in-memory serialization
2011-05-13 17:31:00 +02:00