- 19 Feb, 2020 2 commits
-
-
antirez authored
-
Guy Benoish authored
-
- 18 Feb, 2020 2 commits
-
-
Oran Agra authored
When active defrag kicks in and finds a big list, it will create a bookmark to a node so that it is able to resume iteration from that node later. The quicklist manages that bookmark, and updates it in case that node is deleted. This will increase memory usage only on lists of over 1000 (see active-defrag-max-scan-fields) quicklist nodes (1000 ziplists, not 1000 items) by 16 bytes. In 32 bit build, this change reduces the maximum effective config of list-compress-depth and list-max-ziplist-size (from 32767 to 8191)
-
hwware authored
-
- 16 Feb, 2020 2 commits
-
-
Madelyn Olson authored
-
Madelyn Olson authored
-
- 14 Feb, 2020 4 commits
-
-
antirez authored
This fixes WATCH and client side caching with keys expiring because of a synchronous access and not because of background expiring.
-
Itamar Haber authored
... with CSC disabled
-
antirez authored
-
antirez authored
-
- 13 Feb, 2020 1 commit
-
-
antirez authored
-
- 12 Feb, 2020 2 commits
-
-
antirez authored
-
lifubang authored
Signed-off-by:
lifubang <lifubang@acmcoder.com>
-
- 11 Feb, 2020 2 commits
- 10 Feb, 2020 2 commits
- 07 Feb, 2020 4 commits
- 06 Feb, 2020 15 commits
-
-
Oran Agra authored
-
Guy Benoish authored
1. Call emptyDb even in case of diskless-load: We want modules to get the same FLUSHDB event as disk-based replication. 2. Do not fire any module events when flushing the backups array. 3. Delete redundant call to signalFlushedDb (Called from emptyDb).
-
Guy Benoish authored
-
Oran Agra authored
-
Guy Benoish authored
1. server.repl_no_slaves_since can be set when a MONITOR client disconnects 2. c->repl_ack_time can be set by a newline from a MONITOR client 3. Improved comments
-
Oran Agra authored
-
Oran Agra authored
althouh in theory, users can do BGREWRITEAOF even if aof is disabled, i suppose it is more common that the scheduled flag is set by either startAppendOnly, of a failed initial AOFRW fork (AOF_WAIT_REWRITE)
-
Oran Agra authored
replicationUnsetMaster can be called from other places, not just replicaofCOmmand, and all of these need to restart AOF
-
Oran Agra authored
-
Oran Agra authored
this function possibly iterates on the module list
-
Oran Agra authored
using panic rather than exit means you get s stack trace of the code path that experianced the error, and possibly other info.
-
Oran Agra authored
currently there's no bug since the flags these functions handle are always lower than 32bit, but still better fix the type to prevent future bugs.
-
Oran Agra authored
the warning condition was if usage > limit (saying it'll cause eviction or oom), but in fact the eviction and oom depends on used minus slave buffers. other than fixing the condition, i add info about the current usage and limit, which may be useful when looking at the log.
-
Oran Agra authored
-
Oran Agra authored
SELECT, and HELLO are commands that may be executed by the client as soon as it connects, there's no reason to block them, preventing the client from doing the rest of his sequence (which might just be INFO or CONFIG, etc). MONITOR, DEBUG, SLOWLOG, TIME, LASTSAVE are all non-data accessing commands, which there's no reason to block.
-
- 05 Feb, 2020 4 commits
-
-
Oran Agra authored
-
Oran Agra authored
-
Oran Agra authored
We noticed that the error replies for the generic mechanism for enums are very verbose for config file parsing, but not for config set command. instead of replicating this code, i did a small refactoring to share code between CONFIG SET and config file parsing. and also renamed the enum group functions to be consistent with the naming of other types.
-
Oran Agra authored
-