summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Tracking: fix operators precedence error in bcast check.antirez2020-02-141-1/+1
|
* Tracking: fix behavior when switchinig from normal to BCAST.antirez2020-02-141-1/+11
|
* Tracking: fix sending messages bug + tracking off bug.antirez2020-02-132-20/+28
|
* Tracking: BCAST: basic feature now works.antirez2020-02-123-40/+55
|
* Tracking: BCAST: broadcasting of keys in prefixes implemented.antirez2020-02-112-9/+94
|
* Tracking: BCAST: registration in the prefix table.antirez2020-02-113-20/+67
|
* Tracking: BCAST: parsing of the options + skeleton.antirez2020-02-104-19/+73
|
* Tracking: always reply with an array of keys.antirez2020-02-102-3/+10
|
* Tracking: minor change of names and new INFO field.antirez2020-02-074-4/+11
|
* Rax.c: populate data field after random walk.antirez2020-02-071-0/+1
|
* Tracking: rename INFO field with total items.antirez2020-02-071-1/+1
|
* Tracking: first conversion from hashing to key names.antirez2020-02-073-114/+84
|
* Merge pull request #6822 from guybe7/diskless_load_module_hook_fixSalvatore Sanfilippo2020-02-063-28/+44
|\ | | | | Diskless-load emptyDb-related fixes
| * Diskless-load emptyDb-related fixesGuy Benoish2020-02-063-28/+44
| | | | | | | | | | | | | | 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).
* | Merge branch 'unstable' of github.com:/antirez/redis into unstableantirez2020-02-0615-174/+140
|\ \
| * \ Merge pull request #6826 from lifubang/opensslcliSalvatore Sanfilippo2020-02-061-9/+10
| |\ \ | | | | | | | | fix ssl args check for redis-cli
| | * | fix ssl flag check for redis-clilifubang2020-02-041-9/+10
| | | | | | | | | | | | | | | | Signed-off-by: lifubang <lifubang@acmcoder.com>
| * | | Merge pull request #6821 from guybe7/key_miss_notifySalvatore Sanfilippo2020-02-064-6/+7
| |\ \ \ | | | | | | | | | | Exclude "keymiss" notification from NOTIFY_ALL
| | * | | Exclude "keymiss" notification from NOTIFY_ALLGuy Benoish2020-02-034-6/+7
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | Because "keymiss" is "special" compared to the rest of the notifications (Trying not to break existing apps using the 'A' format for notifications) Also updated redis.conf and module.c docs
| * | | Merge pull request #6837 from oranagra/signal_modified_key_docSalvatore Sanfilippo2020-02-061-1/+2
| |\ \ \ | | | | | | | | | | update RM_SignalModifiedKey doc comment
| | * | | update RM_SignalModifiedKey doc commentOran Agra2020-02-051-1/+2
| | | | |
| * | | | Merge pull request #6840 from oranagra/short_read_moduleidSalvatore Sanfilippo2020-02-061-1/+4
| |\ \ \ \ | | | | | | | | | | | | Add handling of short read of module id in rdb
| | * | | | Add handling of short read of module id in rdbOran Agra2020-02-051-1/+4
| | |/ / /
| * | | | Merge pull request #6843 from oranagra/command_flagsSalvatore Sanfilippo2020-02-061-8/+8
| |\ \ \ \ | | | | | | | | | | | | A few non-data commands that should be allowed while loading or stale
| | * | | | A few non-data commands that should be allowed while loading or staleOran Agra2020-02-061-8/+8
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Merge pull request #6844 from oranagra/bind_config_leakSalvatore Sanfilippo2020-02-061-0/+4
| |\ \ \ \ | | | | | | | | | | | | Memory leak when bind config is provided twice
| | * | | | Memory leak when bind config is provided twiceOran Agra2020-02-061-0/+4
| | |/ / /
| * | | | Merge pull request #6845 from oranagra/maxmemory_warningSalvatore Sanfilippo2020-02-061-2/+3
| |\ \ \ \ | | | | | | | | | | | | fix maxmemory config warning
| | * | | | fix maxmemory config warningOran Agra2020-02-061-2/+3
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Merge pull request #6846 from oranagra/module_client_flagsSalvatore Sanfilippo2020-02-061-3/+3
| |\ \ \ \ | | | | | | | | | | | | Fix client flags to be int64 in module.c
| | * | | | Fix client flags to be int64 in module.cOran Agra2020-02-061-3/+3
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Merge pull request #6847 from oranagra/module_read_err_panicSalvatore Sanfilippo2020-02-061-4/+5
| |\ \ \ \ | | | | | | | | | | | | moduleRDBLoadError, add key name, and use panic rather than exit
| | * | | | moduleRDBLoadError, add key name, and use panic rather than exitOran Agra2020-02-061-4/+5
| | |/ / / | | | | | | | | | | | | | | | | | | | | using panic rather than exit means you get s stack trace of the code path that experianced the error, and possibly other info.
| * | | | Merge pull request #6848 from oranagra/opt_use_diskless_load_callsSalvatore Sanfilippo2020-02-061-4/+3
| |\ \ \ \ | | | | | | | | | | | | reduce repeated calls to use_diskless_load
| | * | | | reduce repeated calls to use_diskless_loadOran Agra2020-02-061-4/+3
| | |/ / / | | | | | | | | | | | | | | | this function possibly iterates on the module list
| * | | | Merge pull request #6849 from oranagra/free_client_mutexSalvatore Sanfilippo2020-02-061-1/+6
| |\ \ \ \ | | | | | | | | | | | | freeClientAsync don't lock mutex if there's just one thread
| | * | | | freeClientAsync don't lock mutex if there's just one threadOran Agra2020-02-061-1/+6
| | |/ / /
| * | | | Merge pull request #6850 from oranagra/restart_aof_unset_masterSalvatore Sanfilippo2020-02-061-3/+4
| |\ \ \ \ | | | | | | | | | | | | move restartAOFAfterSYNC from replicaofCommand to replicationUnsetMaster
| | * | | | move restartAOFAfterSYNC from replicaofCommand to replicationUnsetMasterOran Agra2020-02-061-3/+4
| | |/ / / | | | | | | | | | | | | | | | | | | | | replicationUnsetMaster can be called from other places, not just replicaofCOmmand, and all of these need to restart AOF
| * | | | Merge pull request #6851 from oranagra/aof_rewrite_scheduledSalvatore Sanfilippo2020-02-061-0/+1
| |\ \ \ \ | | | | | | | | | | | | stopAppendOnly resets aof_rewrite_scheduled
| | * | | | stopAppendOnly resets aof_rewrite_scheduledOran Agra2020-02-061-0/+1
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | Merge pull request #6852 from oranagra/acl_helpSalvatore Sanfilippo2020-02-061-0/+2
| |\ \ \ \ | | | | | | | | | | | | add SAVE subcommand to ACL HELP and top comment
| | * | | | add SAVE subcommand to ACL HELP and top commentOran Agra2020-02-061-0/+2
| | |/ / /
| * | | | Merge pull request #6853 from oranagra/debug_helpSalvatore Sanfilippo2020-02-061-2/+3
| |\ \ \ \ | | | | | | | | | | | | DEBUG HELP - add PROTOCOL
| | * | | | DEBUG HELP - add PROTOCOLOran Agra2020-02-061-2/+3
| | |/ / /
| * | | | Some refactroing using getClientType instead of CLIENT_SLAVEGuy Benoish2020-02-062-26/+18
| | | | |
| * | | | Fix small bugs related to replica and monitor ambiguityGuy Benoish2020-02-062-6/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | 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
| * | | Merge pull request #6831 from oranagra/config_c_refactor_3Salvatore Sanfilippo2020-02-051-97/+31
| |\ \ \ | | | | | | | | | | config.c verbose error replies for CONFIG SET, like config file parsing
| | * | | config.c verbose error replies for CONFIG SET, like config file parsingOran Agra2020-02-051-97/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | memoryGetKeys helper function so that ACL can limit access to keys for ↵Oran Agra2020-02-053-1/+18
| |/ / / | | | | | | | | | | | | MEMORY command