antirez
c99bd27b58
ae.c: fix crash when resizing the event loop.
...
See #6964 . The root cause is that the event loop may be resized from an
event callback itself, causing the event pointer to be invalid.
2020-03-12 13:24:30 +01:00
bodong.ybd
e7765e025c
Remove duplicate obj files in Makefile
2020-03-12 11:12:37 +08:00
Itamar Haber
f9ad2cfd75
Adds keyspace notifications to migrate and restore
2020-03-11 18:43:03 +02:00
bodong.ybd
53fd8f4d0d
Fix bug of tcl test using external server
2020-03-11 21:01:27 +08:00
Salvatore Sanfilippo
468332ca80
Merge pull request #6834 from lifubang/askpassword
...
add askpass mode
2020-03-10 16:51:36 +01:00
Salvatore Sanfilippo
aef5b397cd
Merge pull request #6950 from IAmATeaPot418/patch-2
...
Update Redis.conf to improve TLS usability
2020-03-10 16:47:06 +01:00
Jamie Scott
1bf0b5b147
Remove default guidance in Redis.conf
...
Removing the default guidance in Redis.conf since this is not an available value.
2020-03-09 12:53:44 -07:00
guodongxiaren
512badad1b
string literal should be const char*
2020-03-07 19:38:27 +08:00
David Carlier
b349d319d6
debug, dump registers on arm too.
2020-03-07 10:43:41 +00:00
Salvatore Sanfilippo
3b68a38464
Merge pull request #6687 from jtru/systemd-integration-fixes
...
Signal systemd readiness atfer Partial Resync
2020-03-06 13:15:10 +01:00
antirez
ac4e639df5
Fix release notes spelling mistake.
2020-03-06 11:09:52 +01:00
Salvatore Sanfilippo
c90b2a4fdd
Merge pull request #6954 from oranagra/fix-flaky-psync2-test
...
fix for flaky psync2 test
2020-03-05 16:12:21 +01:00
antirez
c208956fbe
Redis 6 RC2.
2020-03-05 16:00:17 +01:00
Oran Agra
d18e79f91d
fix for flaky psync2 test
...
*** [err]: PSYNC2: total sum of full synchronizations is exactly 4 in tests/integration/psync2.tcl
Expected 5 == 4 (context: type eval line 6 cmd {assert {$sum == 4}} proc ::test)
issue was that sometime the test got an unexpected full sync since it
tried to switch to the replica before it was in sync with it's master.
2020-03-05 16:55:14 +02:00
qetu3790
6bd9b67488
Fix not used constant in lru_test_mode.
...
LRU_CYCLE_PERIOD is defined,but not used.
2020-03-05 12:51:15 +01:00
hwware
92ebd0aff7
add missing file marco
2020-03-05 12:51:15 +01:00
ShooterIT
02d1a6091b
Avoid compiler warnings
2020-03-05 12:51:15 +01:00
antirez
5b721f6abb
RDB deletion: document it in example redis.conf.
2020-03-05 12:51:15 +01:00
antirez
749a4e962a
Make sync RDB deletion configurable. Default to no.
2020-03-05 12:51:15 +01:00
antirez
a0fec660f6
Check that the file exists in removeRDBUsedToSyncReplicas().
2020-03-05 12:51:15 +01:00
antirez
00e53fb140
Introduce bg_unlink().
2020-03-05 12:51:14 +01:00
antirez
e91ca9fee9
Remove RDB files used for replication in persistence-less instances.
2020-03-05 12:51:14 +01:00
antirez
93328171ca
Log RDB deletion in persistence-less instances.
2020-03-05 12:51:14 +01:00
antirez
dcafd2d77e
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-05 12:51:14 +01:00
Oran Agra
328b6e473c
Optimize temporary memory allocations for getKeysFromCommand mechanism
...
now that we may use it more often (ACL), these excessive calls to malloc
and free can become an overhead.
2020-03-05 12:51:14 +01:00
antirez
8a7e1fe3b0
Modules: reformat RM_Scan() top comment a bit.
2020-03-05 12:51:14 +01:00
antirez
76cfe21ff7
Modules: more details in RM_Scan API top comment.
2020-03-05 12:51:14 +01:00
Oran Agra
0693ac1961
RM_Scan disable dict rehashing
...
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.
2020-03-05 12:51:14 +01:00
Guy Benoish
470de731e9
Add RM_CreateStringFromDouble
2020-03-05 12:51:14 +01:00
Oran Agra
4ca389bb60
add no_auth to COMMAND INFO
2020-03-05 12:51:14 +01:00
Oran Agra
bec15e6534
module api docs for aux_save and aux_load
2020-03-05 12:51:14 +01:00
Guy Benoish
f14bc2799e
streamReplyWithRangeFromConsumerPEL: Redundant streamDecodeID
2020-03-05 12:51:14 +01:00
antirez
c1951137bb
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-03-05 12:51:14 +01:00
lifubang
45570731b9
add askpass mode
...
Signed-off-by: lifubang <lifubang@acmcoder.com>
2020-03-05 18:17:32 +08:00
lifubang
a97330a70e
update linenoise to fc9667a81d
...
Signed-off-by: lifubang <lifubang@acmcoder.com>
2020-03-05 18:13:43 +08:00
antirez
7e15848ddf
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2020-03-05 10:54:51 +01:00
John Sully
1187fb6afc
Fix CLANG build break
...
Former-commit-id: 5e63c0955d2861ab0ebe2055d4f2d2e8989ea4f3
2020-03-04 17:24:17 -05:00
John Sully
591cc30206
Fix CLANG build break
...
Former-commit-id: e523afa7410399697659106c88e9f65e2cffae79
2020-03-04 17:24:00 -05:00
John Sully
435bd4c2fb
Fix CLANG build break
...
Former-commit-id: c2a98a60f964f28455a5d04e18b88a9a45c9e586
2020-03-04 17:23:40 -05:00
John Sully
958b0b110c
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 6bc92d6d3182970ebe64184d5be9108321182218
2020-03-04 17:13:50 -05:00
John Sully
2105a6300c
Merge branch 'unstable' into RELEASE_5
...
Former-commit-id: 13cf8bbeb7b96e771620cf79dacba9b63cd31591
2020-03-04 17:13:32 -05:00
John Sully
6a8fa9eeb1
Add missing files from last checkin
...
Former-commit-id: 60c0d4104de3ff904758c200342e4d132b19501c
2020-03-04 17:13:18 -05:00
John Sully
e39dd04f6c
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 52fd4445a472fa3112e96c6a7ef66ecdfe6ce9f5
2020-03-04 17:13:01 -05:00
John Sully
0a67cb4c6a
Merge branch 'unstable' into RELEASE_5
...
Former-commit-id: 693ba4ed4ad2fe3f9190b8dc8ca5f940d02baf51
2020-03-04 17:09:29 -05:00
John Sully
01a85ba7fe
Add extra logging when reporting errors from masters - especially in rreplay
...
Former-commit-id: 5397f0b03312b8cace07a85333d8f035bdfb8d57
2020-03-04 17:09:12 -05:00
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
40b1414e6f
RDB deletion: document it in example redis.conf.
2020-03-04 17:58:05 +01: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