12229 Commits

Author SHA1 Message Date
Liu Zhen
84a7a90586 fix clusters mixing accidentally by gossip
`clusterStartHandshake` will start hand handshake
and eventually send CLUSTER MEET message, which is strictly prohibited
in the REDIS CLUSTER SPEC.
Only system administrator can initiate CLUSTER MEET message.
Futher, according to the SPEC, rather than IP/PORT pairs, only nodeid
can be trusted.
2020-06-06 11:43:29 +02:00
antirez
cd63359a17 Fix handling of special chars in ACL LOAD.
Now it is also possible for ACL SETUSER to accept empty strings
as valid operations (doing nothing), so for instance

    ACL SETUSER myuser ""

Will have just the effect of creating a user in the default state.

This should fix #7329.
2020-06-06 11:43:29 +02:00
John Sully
3403a1f648 Detect issues like #189
Former-commit-id: 0042586190a3e5b212a015aeb3577695cd3623c5
2020-06-05 22:18:28 -04:00
John Sully
18f6579ec7 Ensure CRON jobs run in a clean environment
Former-commit-id: c6dce838b7cc94e115fd73a64dda663f0a2c28c5
2020-06-05 21:35:47 -04:00
John Sully
096f38ab39 Undecorated new is OK to use
Former-commit-id: 5b885bb1649805f6a2edb8d28edd1447bb6c4843
2020-06-01 23:36:01 -04:00
John Sully
7b70d8c7d0 maxmem tests should be run solo for higher reliability
Former-commit-id: 95f46e60779fca715244745ced7b2ab04bbf9e3a
2020-06-01 16:50:30 -04:00
John Sully
0241311e69 Remove debug logs that shouldn't have been checked in
Former-commit-id: 31f58311e3de7441d81dd37bd4396be3b64efec5
2020-06-01 16:34:05 -04:00
John Sully
9fb7552b63 PSYNC test shouldn't wait forever
Former-commit-id: 130613e16636923296a8d5b2c4bc623e62fef2f5
2020-06-01 16:13:58 -04:00
John Sully
2b08505fed PSYNC test reliability improvements (test only issue)
Former-commit-id: 50fd4fa7e62f3996f15f6a8c4dcd892022f111ec
2020-06-01 16:01:26 -04:00
John Sully
4f7102f46c Fix for issue #187 we need to properly handle the case where a key with a subkey expirey itself expires during load
Former-commit-id: e6a9a6b428b91b6108df24ae6285ea9b582b7b23
2020-06-01 15:33:19 -04:00
John Sully
bd4f1e2a16 Update endurance.yml
Former-commit-id: d6be93537ebd31f1c6c1dc63c5d3c299b49efec9
2020-06-01 00:25:31 -04:00
John Sully
4038288c4e Fix module multithreaded test failures
Former-commit-id: 1ef35cf466ea944c56974b3795d7d6b5e89f5a3d
2020-05-31 23:46:12 -04:00
John Sully
df5b0f0be5 sendfile has high latency in some scenarios, don't use it
Former-commit-id: 1eb0e3c1c604e71c54423f1d11b8c709c847a516
2020-05-31 23:22:25 -04:00
John Sully
dfe42b8485 we must always respect the output of sdscat, also change the string so its not a substring of other config params
Former-commit-id: e50313b20718bc8df0a53c11b0960e4bcb2177d4
2020-05-31 23:22:10 -04:00
John Sully
80078c93cb Do another iteration for endurance
Former-commit-id: ac3f8d1ac7af62b01816156b8578f4cbc48709e1
2020-05-31 22:51:02 -04:00
John Sully
eddc1ad46a Don't start multimaster tests until all nodes are connected
Former-commit-id: 202b97eff76501e736a2f0969607e3297e9703a4
2020-05-31 22:50:30 -04:00
John Sully
4b08ccd0b1 Fix client race in test (test only issue)
Former-commit-id: f25aebf2698509a132ebf599374b245efb51e365
2020-05-31 21:39:50 -04:00
John Sully
e71c44b506 --loop should run forever
Former-commit-id: 9b1e636a6654a4ba3b629b5ad1097caf513ca000
2020-05-31 21:27:15 -04:00
John Sully
eb8a183583 PUBSUB test reliability: A client race was erroneously failing tests (test only issue)
Former-commit-id: 5147f0153ad1efb827a1709c10cd0f58e6ae65d8
2020-05-31 21:27:15 -04:00
John Sully
500c4f39ef Update endurance.yml
Former-commit-id: 88f7739ae00d5eefb34bce741bb78f2b9aca84b6
2020-05-31 17:50:02 -04:00
John Sully
da309f7045 Active replicas referencing eachother should connect one at a time
Former-commit-id: c0c033a0c175eebdf2173e6e4e59e792d2fe4285
2020-05-31 16:03:50 -04:00
John Sully
8740fb79af Fix race in futex_sleep
Former-commit-id: 73300c57005a49bafbfc44db9c40ba7d1d4eedce
2020-05-31 16:03:50 -04:00
John Sully
628ce68b49 Update endurance.yml
Former-commit-id: 37033179feb9d92d6124b08e662353959eb4f19e
2020-05-31 14:18:12 -04:00
John Sully
d96ea0f8e3 Update endurance.yml
Former-commit-id: 3e6a5ac9cfb108c9d1da4b97b0aaffb9ed92ce88
2020-05-31 03:43:06 -04:00
John Sully
1141ce6939 Endurance tests need more cores
Former-commit-id: dcd297eb5bad0be0bf9f5b34c6fb9ec7486cbe65
2020-05-30 22:16:56 -04:00
John Sully
e897f54c69 Update endurance.yml
Former-commit-id: 4a9742e696a4ebed2338d806e4e1dd758f9c5453
2020-05-30 20:03:04 -04:00
John Sully
1ac6e3ecc5 Auto tune lock for high CPU tension scenarios
Former-commit-id: 8edbae2e04538f82a146a6c2b459a6dfcacf99b2
2020-05-30 18:22:27 -04:00
John Sully
399975721c Ensure endurance run can complete in an hour
Former-commit-id: 63c6735ffcc96a855e1d106f38c70a7c9018ed20
2020-05-30 15:31:54 -04:00
John Sully
2320e632d9 We only want one master connection in progress at a time, ensure that if the connection fails we try a different master
Former-commit-id: 8a0441c14475dc54616337270e092068acaa274a
2020-05-30 15:13:28 -04:00
John Sully
63af59949e daily CI config fix
Former-commit-id: 460c5ed2b336cf7beba55704e12d8e1eb32baea2
2020-05-30 03:27:37 -04:00
John Sully
000fbfdf9d More clients for endurance
Former-commit-id: 8f44f0937b8ea2d43ad71861a949dfe8d187f15d
2020-05-30 03:13:04 -04:00
John Sully
04510961a7 Endurance tests need to be faster, reduce loops
Former-commit-id: 1803b1587b4ca28457263eec849b66b6ab9de630
2020-05-30 02:40:44 -04:00
John Sully
fd3a06da47 Only CI ARM daily
Former-commit-id: a5325061f21b3d93e151fa86dce7447a6f5e03cb
2020-05-30 02:34:37 -04:00
John Sully
d01d3816aa Also test with multiple threads
Former-commit-id: a10a0df09f103f74953ae127b64c2e891f73191e
2020-05-30 02:10:00 -04:00
John Sully
fe474d63df Reduce clients for endurance test
Former-commit-id: 031044c7ea503b2d05d9851da80448480986a8d1
2020-05-30 02:07:30 -04:00
John Sully
d560a37fd0 Fix cron syntax
Former-commit-id: ca755e490500578b60165e48ab2c5d734994f1d1
2020-05-30 01:53:21 -04:00
John Sully
6124aa1a12 Add endurance CI tests
Former-commit-id: 3063a028b31ca87173e873e9842f9fbe71d05ba7
2020-05-30 01:47:26 -04:00
John Sully
d7c6e97c69 Update daily CI job
Former-commit-id: 2c659acc7dae6263e2766ed8e6492144d5848071
2020-05-30 01:21:50 -04:00
John Sully
29a45dfabc TLS requires we explicitly marshal connected sockets when using them on a different thread
Former-commit-id: 341a8caef959883ca6fc71f81f8a3fed747b2341
2020-05-30 01:14:53 -04:00
John Sully
135300e889 Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
Former-commit-id: 366f8c2dc623c1bc441e34dcd81eacc82734f3ce
2020-05-30 00:06:23 -04:00
John Sully
a73e580ad4 Fix memory test failures with multithreading enabled
Former-commit-id: 58035404227a9ef1c3bd92623a333c915d50eab6
2020-05-30 00:06:15 -04:00
Ben Schermel
8e7765b626 centos build fix
Former-commit-id: f17c492a633ea2be99567dfe2f8a59c0b0136d86
2020-05-29 22:23:48 -04:00
John Sully
27cae3750c sendFile blocks too long for use with active replication
Former-commit-id: aad6a7ce159a3679633020dc407a2068129bbd49
2020-05-29 20:27:45 -04:00
John Sully
e380087cdb Unify beforeSleep handling
Former-commit-id: 1cb48c7bf6a7e91e728a677902a7bfc64fe80dd6
2020-05-29 17:44:55 -04:00
John Sully
343745f218 Cluster crash
Former-commit-id: f25c405ad2a8004b79a816072cb011c1dc2407d5
2020-05-29 03:40:52 -04:00
John Sully
2aed24d0a5 active replica tests on slow computers
Former-commit-id: c9920849dd6d6d0f6ecfe0d1002cb0edd7f7bfa9
2020-05-29 01:58:15 -04:00
John Sully
acde7c340e Fix test issue with TLS
Former-commit-id: 81b240f81d1c52fd331c4e0e89659913380229c4
2020-05-29 01:44:52 -04:00
John Sully
d5ed1b9168 Fix CI
Former-commit-id: 6a902b29e16bebdb2da1d0a33ea5a170fc9949a0
2020-05-29 01:01:41 -04:00
John Sully
cfe9f8f3bc Merge tag '6.0.4' into unstable
Redis 6.0.4.


Former-commit-id: 9c31ac7925edba187e527f506e5e992946bd38a6
2020-05-29 00:57:07 -04:00
John Sully
75471778ed Fix TLS tests
Former-commit-id: f0d8d1680f594cc72ccd863eb74b1071368f3052
2020-05-29 00:16:06 -04:00