- 19 Apr, 2012 1 commit
-
-
antirez authored
-
- 18 Apr, 2012 1 commit
-
-
antirez authored
1) Don't accept maxclients set to < 0 2) Allow maxclients < 1024, it is useful for testing.
-
- 13 Apr, 2012 2 commits
-
-
antirez authored
After considering the interaction between ability to delcare globals in scripts using the 'global' function, and the complexities related to hanlding replication and AOF in a sane way with globals AND ability to turn protection On and Off, we reconsidered the design. The new design makes clear that there is only one good way to write Redis scripts, that is not using globals. In the rare cases state must be retained across calls a Redis key can be used.
-
antirez authored
-
- 12 Apr, 2012 1 commit
-
-
antirez authored
-
- 11 Apr, 2012 1 commit
-
-
antirez authored
-
- 10 Apr, 2012 2 commits
- 07 Apr, 2012 1 commit
-
-
antirez authored
-
- 06 Apr, 2012 1 commit
-
-
antirez authored
-
- 04 Apr, 2012 4 commits
-
-
antirez authored
Structure field controlling the INFO field master_link_down_since_seconds initialized correctly to avoid strange INFO output at startup when a slave has yet to connect to its master.
-
antirez authored
-
antirez authored
-
antirez authored
Print milliseconds of the current second in log lines timestamps. Sometimes precise timing is very important for debugging.
-
- 03 Apr, 2012 2 commits
-
-
Premysl Hruby authored
-
antirez authored
When the user-provided 'maxclients' value is too big for the max number of files we can open, at least try to search the max the OS is allowing (in steps of 256 filedes).
-
- 30 Mar, 2012 1 commit
-
-
Joseph Jang authored
occurs when two or more dbs are replicated and at least one of them is >db10
-
- 28 Mar, 2012 2 commits
- 27 Mar, 2012 2 commits
-
-
Premysl Hruby authored
-
antirez authored
-
- 25 Mar, 2012 1 commit
-
-
antirez authored
This new field counts all the times Redis is configured with AOF enabled and fsync policy 'everysec', but the previous fsync performed by the background thread was not able to complete within two seconds, forcing Redis to perform a write against the AOF file while the fsync is still in progress (likely a blocking operation).
-
- 24 Mar, 2012 1 commit
-
-
antirez authored
-
- 21 Mar, 2012 1 commit
-
-
antirez authored
-
- 20 Mar, 2012 2 commits
-
-
antirez authored
DEBUG should not be flagged as w otherwise we can not call DEBUG DIGEST and other commands against read only slaves.
-
antirez authored
This commit introduces support for read only slaves via redis.conf and CONFIG GET/SET commands. Also various semantical fixes are implemented here: 1) MULTI/EXEC with only read commands now work where the server is into a state where writes (or commands increasing memory usage) are not allowed. Before this patch everything inside a transaction would fail in this conditions. 2) Scripts just calling read-only commands will work against read only slaves, when the server is out of memory, or when persistence is into an error condition. Before the patch EVAL always failed in this condition.
-
- 19 Mar, 2012 1 commit
-
-
antirez authored
-
- 18 Mar, 2012 2 commits
- 16 Mar, 2012 1 commit
-
-
antirez authored
-
- 15 Mar, 2012 1 commit
-
-
antirez authored
Use a simple protocol between clientsCron() and helper functions to understand if the client is still valind and clientsCron() should continue processing or if the client was freed and we should continue with the next one.
-
- 14 Mar, 2012 2 commits
- 13 Mar, 2012 1 commit
-
-
antirez authored
Process async client checks like client timeouts and BLPOP timeouts incrementally using a circular list.
-
- 08 Mar, 2012 2 commits
-
-
antirez authored
-
antirez authored
The Run ID is a field that identifies a single execution of the Redis server. It can be useful for many purposes as it makes easy to detect if the instance we are talking about is the same, or if it is a different one or was rebooted. An application of run_id will be in the partial synchronization of replication, where a slave may request a partial sync from a given offset only if it is talking with the same master. Another application is in failover and monitoring scripts.
-
- 07 Mar, 2012 4 commits
-
-
antirez authored
By default Redis refuses writes with an error if the latest BGSAVE failed (and at least one save point is configured). However people having good monitoring systems may prefer a server that continues to work, since they are notified that there are problems by their monitoring systems. This commit implements the ability to turn the feature on or off via redis.conf and CONFIG SET.
-
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.
-
antirez authored
Better MONITOR output, now includes client ip:port or the lua string if the command was executed by the scripting engine.
-
antirez authored
-