- 08 Nov, 2012 1 commit
-
-
antirez authored
-
- 30 Oct, 2012 1 commit
-
-
antirez authored
-
- 27 Sep, 2012 1 commit
-
-
Erik Dubbelboer authored
-
- 02 Jun, 2012 1 commit
-
-
antirez authored
Improved comments to make clear that rdbLoadType() just loads a general TYPE in the context of RDB that can be an object type or an expire type, end-of-file, and so forth. While rdbLoadObjectType() enforces that the type is a valid Object Type otherwise it returns -1.
-
- 25 May, 2012 1 commit
-
-
antirez authored
The 'persistence' section of INFO output now contains additional four fields related to RDB and AOF persistence: rdb_last_bgsave_time_sec Duration of latest BGSAVE in sec. rdb_current_bgsave_time_sec Duration of current BGSAVE in sec. aof_last_rewrite_time_sec Duration of latest AOF rewrite in sec. aof_current_rewrite_time_sec Duration of current AOF rewrite in sec. The 'current' fields are set to -1 if a BGSAVE / AOF rewrite is not in progress. The 'last' fileds are set to -1 if no previous BGSAVE / AOF rewrites were performed. Additionally a few fields in the persistence section were renamed for consistency: changes_since_last_save -> rdb_changes_since_last_save bgsave_in_progress -> rdb_bgsave_in_progress last_save_time -> rdb_last_save_time last_bgsave_status -> rdb_last_bgsave_status bgrewriteaof_in_progress -> aof_rewrite_in_progress bgrewriteaof_scheduled -> aof_rewrite_scheduled After the renaming, fields in the persistence section start with rdb_ or aof_ prefix depending on the persistence method they describe. The field 'loading' and related fields are not prefixed because they are unique for both the persistence methods.
-
- 24 Apr, 2012 1 commit
-
-
antirez authored
-
- 10 Apr, 2012 4 commits
- 08 Apr, 2012 1 commit
-
-
antirez authored
-
- 07 Apr, 2012 1 commit
-
-
antirez authored
Removed dead code: function rdbSaveTime() is no longer used since RDB now saves expires in milliseconds.
-
- 02 Apr, 2012 1 commit
-
-
antirez authored
-
- 23 Mar, 2012 1 commit
-
-
antirez authored
-
- 13 Mar, 2012 2 commits
-
-
antirez authored
RDB hashes loading, fixed another bug in the loading of HT-encoded hashes: when the hash entry is too big for ziplist, add the field, then convert. The code used to break before the new entry was inserted, resulting into missing fields in the loaded Hash object.
-
antirez authored
RDB hashes loading fixed removing the assertion that failed every time an HT-encoded hash was loaded.
-
- 10 Mar, 2012 1 commit
-
-
antirez authored
RDB version is no 4, because small hashes are now encoded as ziplists, so older versions of Redis will not understand this format.
-
- 07 Mar, 2012 1 commit
-
-
antirez authored
Redis now refuses accepting write queries if RDB persistence is configured, but RDB snapshots can't be generated for some reason. The status of the latest background save operation is now exposed in the INFO output as well. This fixes issue #90.
-
- 16 Feb, 2012 1 commit
-
-
Pieter Noordhuis authored
The cron is responsible for expiring keys. When keys are expired at load time, it is possible that the snapshot of a master node gets modified. This can in turn lead to inconsistencies in the data set. A more concrete example of this behavior follows. A user reported a slave that would show an monotonically increase input buffer length, shortly after completing a SYNC. Also, `INFO` output showed a single blocked client, which could only be the master link. Investigation showed that indeed the `BRPOP` command was fed by the master. This command can only end up in the stream of write operations when it did NOT block, and effectively executed `RPOP`. However, when the key involved in the `BRPOP` is expired BEFORE the command is executed, the client executing it will block. The client in this case, is the master link.
-
- 25 Jan, 2012 1 commit
-
-
Pieter Noordhuis authored
-
- 03 Jan, 2012 1 commit
-
-
Pieter Noordhuis authored
-
- 21 Dec, 2011 2 commits
- 12 Nov, 2011 1 commit
-
-
antirez authored
Fixed issues with expire introduced with latest millisecond resolution feature. Many time_t were not converted to long long, and one time() call was not replaced with mstime().
-
- 09 Nov, 2011 3 commits
-
-
antirez authored
-
antirez authored
-
antirez authored
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.
-
- 08 Nov, 2011 1 commit
-
-
antirez authored
-
- 23 Oct, 2011 1 commit
-
-
antirez authored
A past commit removed the inclusion of redis.h from rdb.c, completely breaking 32 bit builds under Linux.
-
- 14 Oct, 2011 1 commit
-
-
antirez authored
Ref: issue #103
-
- 04 Oct, 2011 1 commit
-
-
antirez authored
-
- 22 Sep, 2011 1 commit
-
-
antirez authored
rioInitWithFile nad rioInitWithBuffer functions now take a rio structure pointer to avoid copying a structure to return value to the caller.
-
- 25 Jun, 2011 1 commit
-
-
antirez authored
-
- 20 Jun, 2011 1 commit
-
-
antirez authored
-
- 17 Jun, 2011 1 commit
-
-
antirez authored
Use a safe iterator while saving the DB, since the getExpire() function will access the iterating dictionary.
-
- 10 Jun, 2011 2 commits
- 29 May, 2011 1 commit
-
-
antirez authored
INFO now contains the time (in usecs) needed to fork() in order to persist. The info is available in the stats section of INFO.
-
- 14 May, 2011 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-