John Sully
550413070c
MOTD refactor
...
Former-commit-id: 6c78ec7c41223b3381e19fdf78478f66b4959dc9
2020-03-04 16:22:55 -05:00
John Sully
bd0bfe4d05
min-clients-per-thread needs to use the new config code
...
Former-commit-id: fed4bd5269a95a24f99d4542ceece09b9ad66d2c
2020-03-04 15:14:41 -05:00
antirez
b3134c8dd3
Make sync RDB deletion configurable. Default to no.
2020-03-04 17:44:21 +01:00
bodong.ybd
e0cf09cace
Added BITFIELD_RO variants for read-only operations.
2020-03-04 20:51:45 +08:00
antirez
dff91688a6
Check that the file exists in removeRDBUsedToSyncReplicas().
2020-03-04 12:55:49 +01:00
antirez
994b992782
Log RDB deletion in persistence-less instances.
2020-03-04 11:19:55 +01:00
antirez
b661704fb5
Introduce bg_unlink().
2020-03-04 11:10:54 +01:00
antirez
1d048a3b46
Remove RDB files used for replication in persistence-less instances.
2020-03-03 14:58:15 +01:00
Salvatore Sanfilippo
df8bc67c92
Merge pull request #6804 from qetu3790/unstable
...
Fix not used constant in lru_test_mode.
2020-03-02 17:43:36 +01:00
Salvatore Sanfilippo
fdd06961c3
Merge pull request #6923 from hwware/marcofix
...
add missing marco in sdsalloc.h
2020-03-02 17:07:41 +01:00
Salvatore Sanfilippo
824590544a
Merge pull request #6944 from ShooterIT/acl-compiler-warning
...
To avoid compiler warnings
2020-03-02 16:53:17 +01:00
antirez
f09711fdb0
Use a smaller getkeys global buffer.
...
The idea is that very few commands have a lot of keys, and when this
happens the allocation time becomes neglegible.
2020-03-02 16:49:11 +01:00
Salvatore Sanfilippo
4bf77ffe33
Merge pull request #6836 from oranagra/opt_get_keys_malloc
...
Optimize temporary memory allocations for getKeysFromCommand mechanism
2020-03-02 16:48:05 +01:00
benschermel
278916ca16
Merge branch 'unstable' into RELEASE_5
...
Former-commit-id: 7a244bb847491f992e15c4e9c55473ffd734a8ec
2020-03-01 19:53:32 -05:00
John Sully
4ae77acde4
Rename cron command to KEYDB.CRON and add help
...
Former-commit-id: 1b925119b5ad24ab3a91763bf9f4633f5bc9fef4
2020-03-01 19:18:21 -05:00
John Sully
cb82710daf
Rename cron command to KEYDB.CRON and add help
...
Former-commit-id: 3eb847e28f6df45528dcebc6761290ff60248e78
2020-03-01 19:17:58 -05:00
ShooterIT
7d85577ce1
Avoid compiler warnings
2020-02-29 18:28:41 +08:00
John Sully
0af756d4d7
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 9dc8f30e4783d7e2e9749b155f6bf3df57c536a7
2020-02-28 23:56:26 -05:00
John Sully
b69a8826fa
Bump version
...
Former-commit-id: 3ce6441a0c0f5c58f31f5fa28116cea09aebbf35
2020-02-28 23:53:54 -05:00
John Sully
c27596230d
Merge branch 'unstable' into RELEASE_5
...
Former-commit-id: 6d00a1a5cf86f69bc9204973adb67a4e215260bd
2020-02-28 23:53:00 -05:00
John Sully
1d804ef499
Fix compile failure on raspberry pi machines, issue #141
...
Former-commit-id: aaca32a5cd1bdb0314b4a57847938854b8a4fef2
2020-02-28 23:49:17 -05:00
John Sully
f2c68909dc
Fix not respecting max clients config, issue #147
...
Former-commit-id: 54c96d19954fbddcfd2a307e436ca3290c76e0fb
2020-02-28 22:04:42 -05:00
John Sully
67d78e7808
Fix issue #146
...
Former-commit-id: e5a2d594464a965f36e4cbf924f02929265186e6
2020-02-28 21:21:05 -05:00
antirez
7e8637d87e
Modules: reformat RM_Scan() top comment a bit.
2020-02-28 18:09:46 +01:00
antirez
720a07805e
Modules: more details in RM_Scan API top comment.
2020-02-28 18:06:30 +01:00
Salvatore Sanfilippo
644c244e17
Merge pull request #6838 from oranagra/rm_scan_dict_rehash
...
RM_Scan disable dict rehashing
2020-02-28 17:47:52 +01:00
Salvatore Sanfilippo
8d61c49b98
Merge pull request #6828 from guybe7/module_string_from_double
...
Add RM_CreateStringFromDouble
2020-02-28 11:06:02 +01:00
Salvatore Sanfilippo
23772a54d7
Merge pull request #6862 from oranagra/command_info_no_auth
...
add no_auth to COMMAND INFO
2020-02-28 11:05:31 +01:00
Salvatore Sanfilippo
b0122a1d97
Merge pull request #6893 from oranagra/api_doc_aux_save
...
module api docs for aux_save and aux_load
2020-02-28 10:22:53 +01:00
antirez
631093ae70
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2020-02-27 18:22:22 +01:00
antirez
efd2cf9b78
Show Redis version when not understanding a config directive.
...
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.
2020-02-27 18:21:12 +01:00
Salvatore Sanfilippo
1e956c4868
Merge pull request #6677 from guybe7/deocde_id_once
...
streamReplyWithRangeFromConsumerPEL: Redundant streamDecodeID
2020-02-27 18:09:48 +01:00
Hengjian Tang
6718d5d375
modify the read buf size according to the write buf size PROTO_IOBUF_LEN defined before
2020-02-27 18:02:30 +01:00
bodong.ybd
9fb8903adb
Fix spop return nil #4709
2020-02-27 18:02:30 +01:00
Ariel
663d207da4
fix ThreadSafeContext lock/unlock function names
2020-02-27 18:02:30 +01:00
antirez
b977f87438
Fix SDS misuse in enumConfigSet(). Related to #6778 .
2020-02-27 18:02:30 +01:00
Guy Benoish
0f578ef183
XREADGROUP should propagate XCALIM/SETID in MULTI/EXEC
...
Use built-in alsoPropagate mechanism that wraps commands
in MULTI/EXEC before sending them to replica/AOF
2020-02-27 18:02:30 +01:00
antirez
310a80764d
Remove useless comment from enumConfigSet().
2020-02-27 18:02:30 +01:00
Ponnuvel Palaniyappan
3af14cfa3d
Fix a potential overflow with strncpy
2020-02-27 18:02:30 +01:00
Guy Benoish
9d5f9b3cb5
Modules: Do not auto-unblock clients if not blocked on keys
2020-02-27 18:02:30 +01:00
antirez
ae97c31644
Improve aeDeleteEventLoop() top comment grammar.
2020-02-27 18:02:30 +01:00
wangyuan21
64700cca61
free time event when delete eventloop
2020-02-27 18:02:30 +01:00
srzhao
3ab91ff206
fix impl of aof-child whitelist SIGUSR1 feature.
2020-02-27 18:02:30 +01:00
meir@redislabs.com
22c571795c
Changed log level for module fork api from 'notice' to 'verbos'.
2020-02-27 18:02:30 +01:00
antirez
75a7615ce2
Tracking: optin/out implemented.
2020-02-27 18:02:30 +01:00
hwware
7e6b81527c
format fix
2020-02-27 18:02:30 +01:00
hwware
afe5179dd4
fix potentical memory leaks
2020-02-27 18:02:30 +01:00
Oran Agra
79e8b17d7b
Defrag big lists in portions to avoid latency and freeze
...
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)
2020-02-27 18:00:47 +01:00
Guy Benoish
d1be7aaa18
XGROUP DESTROY should unblock XREADGROUP with -NOGROUP
2020-02-27 18:00:47 +01:00
hwware
b995612a78
add missing subcommand description for debug oom
2020-02-27 18:00:47 +01:00