John Sully
c0160a4415
Merge tag '6.2.3' into unstable
...
Former-commit-id: 1895dbb7680fa9aadf6040912e89c733abc8c706
2021-07-09 04:40:31 +00:00
christianEQ
cf23416296
added eq alpha copyright
...
Former-commit-id: a6cbbd0f318f3a091ed23dbdbcc1593f32fa5e25
2021-07-08 02:58:18 +00:00
christianEQ
145015dc51
fix for #323 : seg fault on expiremember
...
Former-commit-id: f1f52af9cfcac03a1af84265f7e5cb2172e8ebde
2021-07-08 02:50:05 +00:00
christianEQ
ea95e6c406
various branding and cleanup fixes
...
Former-commit-id: e3c619eca4755c96af83e1959a6ea5ba95734e93
2021-07-08 02:46:42 +00:00
christianEQ
e5939c5de9
removed unused command line options
...
Former-commit-id: 57e59d97db3674eb241f9bd0836e38f4c8356cac
2021-06-22 17:13:35 +00:00
christianEQ
6c5246fb09
changed --ms to --time
...
Former-commit-id: d7cada0f38668f67eb307172a3e91599b1f00a24
2021-06-21 19:57:14 +00:00
christianEQ
59102658a3
added more verbose options
...
Former-commit-id: fd2ac1fcfc94285cad683528f3d209b204ccfd2b
2021-06-21 18:40:37 +00:00
christianEQ
2bbb8a54fc
-t threads option
...
Former-commit-id: 0181b0e7a17ad5f83a544401110a9eac2b292aa4
2021-06-21 18:36:21 +00:00
christianEQ
0d9e0a9039
added starting line so diagnostic tool doesnt look frozen at first
...
Former-commit-id: 2b5e5cfa4cf1478682c46d74436025c63ac6c217
2021-06-18 20:21:47 +00:00
christianEQ
4028d35560
Merge remote-tracking branch 'origin/unstable' into diagnostic-tool
...
Former-commit-id: bfb0d02622dfc9ac0c67ec68ae8a21cccd5c9004
2021-06-18 20:19:31 +00:00
christianEQ
248059e50c
detect stagnating server load before 100% (diagnostic tool)
...
Former-commit-id: 534b70643b8f39303331048d3e86475caa08b864
2021-06-18 19:01:51 +00:00
christianEQ
b21b868de2
added config option for time to spin up new client threads (diagnostic tool)
...
Former-commit-id: 3d0f729572b175457d4874b6e381754ac47e9055
2021-06-18 16:58:16 +00:00
christianEQ
29e3f7da84
detect full load + server threads (diagnostic tool)
...
Former-commit-id: fd4ed1e425e32b628c5850e83c9ea9411c471bbe
2021-06-18 16:49:25 +00:00
christianEQ
4237c9d5ff
detect client cpu usage in diagnostic tool
...
Former-commit-id: 693450393c848679b60c5a9bf55428ae1d4f769f
2021-06-17 20:40:10 +00:00
christianEQ
fd72894fbf
accurate cpu usage in diagnostic tool
...
Former-commit-id: 8ee7584cffc5c5cacfb7ad20fc964112974683e4
2021-06-17 18:32:11 +00:00
John Sully
420b07960c
Prevent test code crash due to no log data
...
Former-commit-id: 0a56a73bd98d4e692ae77683fdb9dd644ecfc2eb
2021-06-14 22:06:36 +00:00
John Sully
dd8e8b098c
active defrag tests need to run single threaded because jemalloc has seperate mempools per thread and the numbers won't match otherwise
...
Former-commit-id: 3a1d3090f2ec5a442e3a7c192987cdfa24094145
2021-06-14 16:32:47 +00:00
christianEQ
9dd97c9c0d
changed redis_flags names to keydb in makefile
...
Former-commit-id: 07273936271536e4a57efdb7a31bc34e5b8d50f1
2021-06-14 16:09:42 +00:00
christianEQ
2417c7a593
several redis->keydb changes in sentinel.conf
...
Former-commit-id: d2ef0594711c83ec9223d2e3b26fce9b5a4f685f
2021-06-11 19:16:33 +00:00
christianEQ
3ea398ad5e
renamed redis mentions in runtest files
...
Former-commit-id: 2e894a512b30a8317619e55fa30a218306f8514f
2021-06-11 19:11:12 +00:00
christianEQ
e0aafaee37
renamed redis mention in readme
...
Former-commit-id: 34b0209f05d4f44e4b14278ad746f1eda679b32a
2021-06-11 19:10:35 +00:00
christianEQ
d0a3554de7
renamed workspace gitignore
...
Former-commit-id: 046f5756325992752b51d7ac601fd84d4faa53ce
2021-06-11 19:10:12 +00:00
christianEQ
c23c7f0ca4
renamed redis test files
...
Former-commit-id: 1c77104b5efcdfd1fce6a4a946e8a1ead35dc7f0
2021-06-11 19:09:40 +00:00
christianEQ
470c6550e4
removed unreliable musl test and left only accurate new one
...
Former-commit-id: 386be8990a83fcc5d57aa20a268544a877c2cfd7
2021-06-11 18:19:59 +00:00
christianEQ
f3c44c96f2
changed redis.pid to keydb.pid where necessary
...
Former-commit-id: 76d9c7c82abe7aecc7301d82e755953a37513138
2021-06-11 18:19:02 +00:00
christianEQ
f48be238b1
removed outdated comment in server.cpp
...
Former-commit-id: 98f08034a13341059b9b1690989e7ef0207ac920
2021-06-11 18:17:18 +00:00
christianEQ
1c6219643b
updated pkg/deb/conf/keydb.conf to use keydb name throughout
...
Former-commit-id: 308cf77437374f01cc40101f2f35768db7a16302
2021-06-11 18:15:50 +00:00
christianEQ
87316cb63c
removed the question issue template - doesn't seem necessary for us
...
Former-commit-id: ce64f469f404f79ae0028627e7ebfcc47781eeab
2021-06-11 18:08:19 +00:00
christianEQ
8ee834ea24
fixed flag var names in ci
...
Former-commit-id: e632c3db1b6c8b0294075e60533f40812c554b47
2021-06-11 17:04:33 +00:00
christianEQ
ea12db4433
don't enforce upper limit for requests issued; tool will run indefinitely
...
Former-commit-id: 239d22ed722357f0973c971b998b21f4f7b3b1da
2021-06-11 16:28:29 +00:00
christianEQ
0c41217fba
working diag tool prototype
...
Former-commit-id: fefbe96816f6a18ca6f8c8d3794502e6e610650f
2021-06-01 20:54:48 +00:00
M Sazzadul Hoque
78d6597012
Fix 6.2.4 release month to June ( #9027 )
2021-06-01 19:03:06 +03:00
Oran Agra
8728f68f66
Redis 6.2.4
2021-06-01 17:03:36 +03:00
Oran Agra
e55cc0e9f4
Fix integer overflow in STRALGO LCS (CVE-2021-32625) ( #9011 )
...
An integer overflow bug in Redis version 6.0 or newer can be exploited using the
STRALGO LCS command to corrupt the heap and potentially result with remote code
execution. This is a result of an incomplete fix by CVE-2021-29477.
(cherry picked from commit 1ddecf1958924b178b76a31d989ef1e05af81964)
2021-06-01 17:03:36 +03:00
YaacovHazan
bd2785d18b
unregister AE_READABLE from the read pipe in backgroundSaveDoneHandlerSocket ( #8991 )
...
In diskless replication, we create a read pipe for the RDB, between the child and the parent.
When we close this pipe (fd), the read handler also needs to be removed from the event loop (if it still registered).
Otherwise, next time we will use the same fd, the registration will be fail (panic), because
we will use EPOLL_CTL_MOD (the fd still register in the event loop), on fd that already removed from epoll_ctl
(cherry picked from commit 501d7755831527b4237f9ed6050ec84203934e4d)
2021-06-01 17:03:36 +03:00
Wen Hui
eb6d4da231
fix sentinel test failure ( #8983 )
...
fix for recent breakage from #8958 , did a mistake when updating the pr.
(cherry picked from commit be6ce8a92a9acbecfaaa6c57a45037fc1018fefe)
2021-06-01 17:03:36 +03:00
Wen Hui
efb7a5c630
[SENTINEL] reset sentinel-user/pass to NULL when user config with empty string ( #8958 )
...
(cherry picked from commit ae6f58690b91010d003cdf5552d74b8e5b428d53)
2021-06-01 17:03:36 +03:00
Madelyn Olson
f8938d868b
Hide migrate command from slowlog if they include auth ( #8859 )
...
Redact commands that include sensitive data from slowlog and monitor
(cherry picked from commit a59e75a475782d86d7ce2b5b9c6f5bb4a5ef0bd6)
2021-06-01 17:03:36 +03:00
patpatbear
2adf90348f
sinterstore: add missing keyspace del event when any source set not exists. ( #8949 )
...
this patch fixes sinterstore by add missing keyspace del event when any source set not exists.
Co-authored-by: srzhao <srzhao@sysnew.com>
(cherry picked from commit 46d9f31e94355ec15b95418377677bcf75839bc9)
2021-06-01 17:03:36 +03:00
Oran Agra
eca5e75b2a
Fix crash unlinking a stream with groups rax and no groups ( #8932 )
...
When estimating the effort for unlink, we try to compute the effort of
the first group and extrapolate.
If there's a groups rax that's empty, there'a an assertion.
reproduce:
xadd s * a b
xgroup create s bla $
xgroup destroy s bla
unlink s
(cherry picked from commit 97108845e2ae7661e5091c817cb03459ec81ea8c)
2021-06-01 17:03:36 +03:00
Oran Agra
f8e272f765
fix redis-benchmark to ignore unsupported configs ( #8916 )
...
Redis Enterprise supports the CONFIG GET command, but it replies with am
empty array since the save and appendonly configs are not supported.
before this fix redis-benchmark would segfault for trying to access the
error string on an array type reply.
see #8869
(cherry picked from commit 4d1094e8be3150b92b3e96d3a743c66b1a95988a)
2021-06-01 17:03:36 +03:00
Wang Yuan
435511f7c3
Fix wrong COW memory in log ( #8917 )
...
Always 0 MB of memory used by copy-on-write, introduced in #8645 .
(cherry picked from commit 81e2d7272b784273099fecd85b15473277296771)
2021-06-01 17:03:36 +03:00
yoav-steinberg
7059cfb432
Enforce client output buffer soft limit when no traffic. ( #8833 )
...
When client breached the output buffer soft limit but then went idle,
we didn't disconnect on soft limit timeout, now we do.
Note this also resolves some sporadic test failures in due to Linux
buffering data which caused tests to fail if during the test we went
back under the soft COB limit.
Co-authored-by: Oran Agra <oran@redislabs.com>
Co-authored-by: sundb <sundbcn@gmail.com>
(cherry picked from commit 152fce5e2cbf947a389da414a431f7331981a374)
2021-06-01 17:03:36 +03:00
John Sully
0bb036aebb
Don't pass on flags indicating membership in a list
...
Former-commit-id: b1f662d6393eea77c2870c8a1f955374b1a3b57f
2021-05-30 05:11:18 +00:00
John Sully
6331caca6a
Fix a leak in the benchmark
...
Former-commit-id: aa5b27b040c69f0c7d166203bed7110bc8c0bc87
2021-05-30 02:55:39 +00:00
John Sully
e5691036d9
Fix merge issue with module test script
...
Former-commit-id: 10d254ec1bcdd9c25e373bbf882db244fecb65d1
2021-05-30 02:45:06 +00:00
John Sully
42f5d1a175
Ensure our connections are touched only on the right thread
...
Former-commit-id: e8a44821d016e9f9b8ca873757d4786c4c271b7c
2021-05-30 02:08:30 +00:00
John Sully
1a734223ca
Handle race where a different thread cancels the replication but we haven't closed the connection
...
Former-commit-id: 92e48f071792985c2fb7f4c722329e832cd4c77b
2021-05-30 02:08:02 +00:00
John Sully
f1ba462df6
Delete pipe on the right thread so event handlers are cleaned up
...
Former-commit-id: 9742c44db52929b755d6ecce16f91bee07f495ff
2021-05-30 02:07:31 +00:00
John Sully
f82860104e
Don't leave dangling client pointers in the process list
...
Former-commit-id: 5d16f519508fcb96a8803fcefa69d6c75fa174ac
2021-05-30 02:06:47 +00:00