antirez
1900d091d7
Diskless replication: RDB -> slaves transfer draft implementation.
2014-10-14 10:11:29 +02:00
guiquanz
df7a5b7157
Fixed many typos.
2013-01-19 10:59:44 +01:00
antirez
a32d1ddff6
BSD license added to every C source and header file.
2012-11-08 18:31:32 +01:00
antirez
52d954912e
No longer used macro rdbIsOpcode() removed.
2012-10-30 19:10:46 +01:00
Alex Mitrofanov
33700ab2a7
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
90e3a29f59
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
2f39a3e87c
RDB files now embed a crc64 checksum. Version of RDB bumped to 5.
2012-04-09 22:40:41 +02:00
antirez
4d44b997ce
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
ae204e5428
Encode small hashes with a ziplist
2012-01-02 22:14:10 -08:00
antirez
11872466e3
Fixed a few typos
2011-11-09 21:59:27 +01:00
antirez
027876589d
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
78feade83d
Move rdbLoad* to top; update comments
2011-05-13 23:24:19 +02:00
Pieter Noordhuis
43b1feb2f0
Make RDB types/opcodes explicit; load/save object type
2011-05-13 22:14:39 +02:00
Pieter Noordhuis
ce9195ad16
Abstract file/buffer I/O to support in-memory serialization
2011-05-13 17:31:00 +02:00