summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | | 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
* | | | | | | | | | | Merge branch 'acl-log' into unstableantirez2020-02-066-5/+213
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | ACL LOG: make max log entries configurable.acl-logantirez2020-02-043-0/+8
| | | | | | | | | | |
| * | | | | | | | | | ACL LOG: log failed auth attempts.antirez2020-02-045-12/+34
| | | | | | | | | | |
| * | | | | | | | | | ACL LOG: also log ACL errors in the scripting/MULTI ctx.antirez2020-01-302-2/+6
| | | | | | | | | | |
| * | | | | | | | | | ACL LOG: implement LOG RESET.antirez2020-01-291-2/+6
| | | | | | | | | | |
| * | | | | | | | | | ACL LOG: group similar entries in a given time delta.antirez2020-01-291-3/+58
| | | | | | | | | | |
| * | | | | | | | | | ACL LOG: actually emit entries.antirez2020-01-283-5/+34
| | | | | | | | | | |
| * | | | | | | | | | ACL LOG: implement ACL LOG subcommadn skeleton.antirez2020-01-281-0/+37
| | | | | | | | | | |
| * | | | | | | | | | ACL LOG: data structures and initial functions.antirez2020-01-275-5/+54
| | |_|_|_|_|/ / / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #6818 from leomurillo/zskiplistLevelsSalvatore Sanfilippo2020-02-041-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Set ZSKIPLIST_MAXLEVEL to 32
| * | | | | | | | | | Set ZSKIPLIST_MAXLEVEL to optimal value given 2^64 elements and p=0.25Leo Murillo2020-02-021-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Fix lua related memory leak.WuYunlong2020-02-041-0/+1
| |_|_|/ / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #6808 from yossigo/fix/redis-cli-openssl-1.0.xSalvatore Sanfilippo2020-02-031-0/+9
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | TLS: Fix missing initialization in redis-cli.
| * | | | | | | | | | TLS: Fix missing initialization in redis-cli.Yossi Gottlieb2020-01-291-0/+9
| | | | | | | | | | |
* | | | | | | | | | | fix uninitialized info_cb var in module.cOran Agra2020-02-031-0/+1
| |/ / / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #6812 from guybe7/str_convert_fixSalvatore Sanfilippo2020-01-303-11/+4
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | ld2string should fail if string contains \0 in the middle