summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* RDB deletion: document it in example redis.conf.nordbantirez2020-03-041-0/+13
|
* Make sync RDB deletion configurable. Default to no.antirez2020-03-043-4/+22
|
* Check that the file exists in removeRDBUsedToSyncReplicas().antirez2020-03-041-4/+8
|
* Log RDB deletion in persistence-less instances.antirez2020-03-041-2/+15
|
* Introduce bg_unlink().antirez2020-03-041-3/+31
|
* Remove RDB files used for replication in persistence-less instances.antirez2020-03-033-1/+56
|
* Use a smaller getkeys global buffer.antirez2020-03-021-1/+1
| | | | | The idea is that very few commands have a lot of keys, and when this happens the allocation time becomes neglegible.
* Merge pull request #6836 from oranagra/opt_get_keys_mallocSalvatore Sanfilippo2020-03-021-10/+31
|\ | | | | Optimize temporary memory allocations for getKeysFromCommand mechanism
| * Optimize temporary memory allocations for getKeysFromCommand mechanismOran Agra2020-02-051-10/+31
| | | | | | | | | | now that we may use it more often (ACL), these excessive calls to malloc and free can become an overhead.
* | Modules: reformat RM_Scan() top comment a bit.antirez2020-02-281-12/+21
| |
* | Modules: more details in RM_Scan API top comment.antirez2020-02-281-6/+22
| |
* | Merge pull request #6838 from oranagra/rm_scan_dict_rehashSalvatore Sanfilippo2020-02-282-6/+21
|\ \ | | | | | | RM_Scan disable dict rehashing
| * | RM_Scan disable dict rehashingOran Agra2020-02-062-6/+21
| |/ | | | | | | | | | | | | | | | | | | | | | | The callback approach we took is very efficient, the module can do any filtering of keys without building any list and cloning strings, it can also read data from the key's value. but if the user tries to re-open the key, or any other key, this can cause dict re-hashing (dictFind does that), and that's very bad to do from inside dictScan. this commit protects the dict from doing any rehashing during scan, but also warns the user not to attempt any writes or command calls from within the callback, for fear of unexpected side effects and crashes.
* | Merge pull request #6828 from guybe7/module_string_from_doubleSalvatore Sanfilippo2020-02-282-0/+14
|\ \ | | | | | | Add RM_CreateStringFromDouble
| * | Add RM_CreateStringFromDoubleGuy Benoish2020-02-042-0/+14
| | |
* | | Merge pull request #6862 from oranagra/command_info_no_authSalvatore Sanfilippo2020-02-281-0/+1
|\ \ \ | | | | | | | | add no_auth to COMMAND INFO
| * | | add no_auth to COMMAND INFOOran Agra2020-02-061-0/+1
| | |/ | |/|
* | | Merge pull request #6893 from oranagra/api_doc_aux_saveSalvatore Sanfilippo2020-02-282-1/+7
|\ \ \ | | | | | | | | module api docs for aux_save and aux_load
| * | | module api docs for aux_save and aux_loadOran Agra2020-02-162-1/+7
| | | |
* | | | Merge branch 'unstable' of github.com:/antirez/redis into unstableantirez2020-02-271-3/+1
|\ \ \ \
| * \ \ \ Merge pull request #6677 from guybe7/deocde_id_onceSalvatore Sanfilippo2020-02-271-3/+1
| |\ \ \ \ | | | | | | | | | | | | streamReplyWithRangeFromConsumerPEL: Redundant streamDecodeID
| | * | | | streamReplyWithRangeFromConsumerPEL: Redundant streamDecodeIDGuy Benoish2019-12-181-3/+1
| | | | | |
* | | | | | Show Redis version when not understanding a config directive.antirez2020-02-271-1/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes simpler to give people help when posting such kind of errors in the mailing list or other help forums, because sometimes the directive looks well spelled, but the version of Redis they are using is not able to support it.
* | | | | Merge pull request #6690 from yangbodong22011/fix-spop-return-nilSalvatore Sanfilippo2020-02-271-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix spop return nil #4709
| * | | | | Fix spop return nil #4709bodong.ybd2019-12-211-1/+1
| | | | | |
* | | | | | Fix SDS misuse in enumConfigSet(). Related to #6778.antirez2020-02-271-3/+3
| | | | | |
* | | | | | Remove useless comment from enumConfigSet().antirez2020-02-271-1/+0
| | | | | |
* | | | | | Merge pull request #6778 from pponnuvel/fix_possible_overflowSalvatore Sanfilippo2020-02-271-5/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix a potential overflow with strncpy
| * | | | | | Fix a potential overflow with strncpyPonnuvel Palaniyappan2020-01-141-5/+5
| | | | | | |
* | | | | | | Improve aeDeleteEventLoop() top comment grammar.antirez2020-02-271-1/+2
| | | | | | |
* | | | | | | Merge pull request #6189 from ShooterIT/del-event-loopSalvatore Sanfilippo2020-02-271-0/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Del event loop
| * | | | | | | free time event when delete eventloopwangyuan212019-12-311-0/+7
| | | | | | | |
* | | | | | | | Merge pull request #6785 from ↵Salvatore Sanfilippo2020-02-271-4/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patpatbear/issue_#6696_fix_aof_child_whitelist_SIGUSR1 fix impl of aof-child whitelist SIGUSR1 feature.
| * | | | | | | | fix impl of aof-child whitelist SIGUSR1 feature.srzhao2020-01-171-4/+5
| | | | | | | | |
* | | | | | | | | Merge pull request #6876 from ↵Salvatore Sanfilippo2020-02-271-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MeirShpilraien/changed_log_level_of_module_fork_api Changed log level for module fork api from 'notice' to 'verbos'.
| * | | | | | | | | Changed log level for module fork api from 'notice' to 'verbos'.meir@redislabs.com2020-02-101-2/+2
| | | | | | | | | |
* | | | | | | | | | Merge pull request #6783 from hwware/memoryleakfixSalvatore Sanfilippo2020-02-271-1/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Fix Memory Leaks in debug.c
| * | | | | | | | | | format fixhwware2020-01-161-1/+1
| | | | | | | | | | |
| * | | | | | | | | | fix potentical memory leakshwware2020-01-161-1/+4
| | |/ / / / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #6931 from t00350320/unstableSalvatore Sanfilippo2020-02-271-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | modify the read buf size according to the write buf size PROTO_IOBUF_LEN
| * | | | | | | | | | modify the read buf size according to the write buf size PROTO_IOBUF_LEN ↵Hengjian Tang2020-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defined before
* | | | | | | | | | | Merge pull request #6919 from ashtul/Fix-ThreadSafeContext-functions-namesSalvatore Sanfilippo2020-02-271-2/+2
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fix ThreadSafeContext lock/unlock function names
| * | | | | | | | | | | fix ThreadSafeContext lock/unlock function namesAriel2020-02-221-2/+2
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #6921 from guybe7/fix_xclaim_propagateSalvatore Sanfilippo2020-02-271-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | XREADGROUP should propagate XCALIM/SETID in MULTI/EXEC
| * | | | | | | | | | | | XREADGROUP should propagate XCALIM/SETID in MULTI/EXECGuy Benoish2020-02-231-2/+2
| | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use built-in alsoPropagate mechanism that wraps commands in MULTI/EXEC before sending them to replica/AOF
* | | | | | | | | | | | Merge pull request #6926 from oranagra/fork-test-fixSalvatore Sanfilippo2020-02-272-3/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | fix race in module api test for fork
| * | | | | | | | | | | | fix race in module api test for forkOran Agra2020-02-232-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in some cases we were trying to kill the fork before it got created
* | | | | | | | | | | | | Merge pull request #6922 from guybe7/refix_blocked_module_memleakSalvatore Sanfilippo2020-02-271-7/+22
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Do not auto-unblock clients if not blocked on keys
| * | | | | | | | | | | | | Modules: Do not auto-unblock clients if not blocked on keysGuy Benoish2020-02-231-7/+22
| | |/ / / / / / / / / / / | |/| | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #6935 from oranagra/ci_actions_latencySalvatore Sanfilippo2020-02-272-4/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix github actions failing latency test for active defrag - part 2