John Sully
891977d9b7
Fix race in futex_sleep
...
Former-commit-id: 73300c57005a49bafbfc44db9c40ba7d1d4eedce
2020-05-31 16:03:50 -04:00
John Sully
4a110615f3
Update endurance.yml
...
Former-commit-id: 37033179feb9d92d6124b08e662353959eb4f19e
2020-05-31 14:18:12 -04:00
John Sully
e00b2a6386
Update endurance.yml
...
Former-commit-id: 3e6a5ac9cfb108c9d1da4b97b0aaffb9ed92ce88
2020-05-31 03:43:06 -04:00
John Sully
412df47945
Endurance tests need more cores
...
Former-commit-id: dcd297eb5bad0be0bf9f5b34c6fb9ec7486cbe65
2020-05-30 22:16:56 -04:00
John Sully
b58db1f7b9
Update endurance.yml
...
Former-commit-id: 4a9742e696a4ebed2338d806e4e1dd758f9c5453
2020-05-30 20:03:04 -04:00
John Sully
d344d9b0b9
Auto tune lock for high CPU tension scenarios
...
Former-commit-id: 8edbae2e04538f82a146a6c2b459a6dfcacf99b2
2020-05-30 18:22:27 -04:00
John Sully
003dfea7f9
Ensure endurance run can complete in an hour
...
Former-commit-id: 63c6735ffcc96a855e1d106f38c70a7c9018ed20
2020-05-30 15:31:54 -04:00
John Sully
baadab90e7
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
fcf183e4b5
daily CI config fix
...
Former-commit-id: 460c5ed2b336cf7beba55704e12d8e1eb32baea2
2020-05-30 03:27:37 -04:00
John Sully
8fec593def
More clients for endurance
...
Former-commit-id: 8f44f0937b8ea2d43ad71861a949dfe8d187f15d
2020-05-30 03:13:04 -04:00
John Sully
73db61ea86
Endurance tests need to be faster, reduce loops
...
Former-commit-id: 1803b1587b4ca28457263eec849b66b6ab9de630
2020-05-30 02:40:44 -04:00
John Sully
e48e8511ec
Only CI ARM daily
...
Former-commit-id: a5325061f21b3d93e151fa86dce7447a6f5e03cb
2020-05-30 02:34:37 -04:00
John Sully
cc49720fd5
Also test with multiple threads
...
Former-commit-id: a10a0df09f103f74953ae127b64c2e891f73191e
2020-05-30 02:10:00 -04:00
John Sully
aedbb558ab
Reduce clients for endurance test
...
Former-commit-id: 031044c7ea503b2d05d9851da80448480986a8d1
2020-05-30 02:07:30 -04:00
John Sully
d3b89c69ad
Fix cron syntax
...
Former-commit-id: ca755e490500578b60165e48ab2c5d734994f1d1
2020-05-30 01:53:21 -04:00
John Sully
76b5b55da9
Add endurance CI tests
...
Former-commit-id: 3063a028b31ca87173e873e9842f9fbe71d05ba7
2020-05-30 01:47:26 -04:00
John Sully
7000884239
Update daily CI job
...
Former-commit-id: 2c659acc7dae6263e2766ed8e6492144d5848071
2020-05-30 01:21:50 -04:00
John Sully
f37ee5bd4d
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
ed77c35b15
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
bbff81e891
Fix memory test failures with multithreading enabled
...
Former-commit-id: 58035404227a9ef1c3bd92623a333c915d50eab6
2020-05-30 00:06:15 -04:00
Ben Schermel
be6f1df429
centos build fix
...
Former-commit-id: f17c492a633ea2be99567dfe2f8a59c0b0136d86
2020-05-29 22:23:48 -04:00
Ben Schermel
9936463c07
centos build fix
...
Former-commit-id: 6fe4571bf959432127b8741c22d8264fd55969b8
2020-05-29 22:21:01 -04:00
John Sully
5316f656d9
sendFile blocks too long for use with active replication
...
Former-commit-id: aad6a7ce159a3679633020dc407a2068129bbd49
2020-05-29 20:27:45 -04:00
John Sully
68bf5a04a0
Unify beforeSleep handling
...
Former-commit-id: 1cb48c7bf6a7e91e728a677902a7bfc64fe80dd6
2020-05-29 17:44:55 -04:00
John Sully
f18ba66242
Cluster crash
...
Former-commit-id: f25c405ad2a8004b79a816072cb011c1dc2407d5
2020-05-29 03:40:52 -04:00
John Sully
2e0c684324
active replica tests on slow computers
...
Former-commit-id: c9920849dd6d6d0f6ecfe0d1002cb0edd7f7bfa9
2020-05-29 01:58:15 -04:00
John Sully
688dceb3a8
Fix test issue with TLS
...
Former-commit-id: 81b240f81d1c52fd331c4e0e89659913380229c4
2020-05-29 01:44:52 -04:00
John Sully
f79cc0011a
Fix CI
...
Former-commit-id: 6a902b29e16bebdb2da1d0a33ea5a170fc9949a0
2020-05-29 01:01:41 -04:00
John Sully
ed2e0e66f6
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
a768c260dc
Fix TLS tests
...
Former-commit-id: f0d8d1680f594cc72ccd863eb74b1071368f3052
2020-05-29 00:16:06 -04:00
John Sully
34d3bac791
gencert its own step
...
Former-commit-id: 6dcbcacb104814e6a710a4ffe101668a573ebd4f
2020-05-28 23:49:13 -04:00
John Sully
8bb3ac40f1
CI yml syntax error
...
Former-commit-id: 3196717ceee0bde8a5e30b25dd99bd7f3776c6ab
2020-05-28 23:18:02 -04:00
John Sully
f4f9e83ead
Fix TLS tests in CI
...
Former-commit-id: f95578ac0268b3f29139fc715bba0b27b92767c3
2020-05-28 23:16:42 -04:00
John Sully
71fbeb65b6
fix TLS test failure
...
Former-commit-id: 57ca6facc3038e005656912b6378cb7fbe04f55a
2020-05-28 23:16:27 -04:00
antirez
c512f64428
Redis 6.0.4.
2020-05-28 12:18:38 +02:00
antirez
41bb699867
Test: take PSYNC2 test master timeout high during switch.
...
This will likely avoid false positives due to trailing pings.
2020-05-28 10:56:14 +02:00
antirez
40578433c7
Test: add the tracking unit as default.
2020-05-28 10:22:29 +02:00
Oran Agra
571b03021a
tests: find_available_port start search from next port
...
i.e. don't start the search from scratch hitting the used ones again.
this will also reduce the likelihood of collisions (if there are any
left) by increasing the time until we re-use a port we did use in the
past.
2020-05-28 10:09:51 +02:00
Oran Agra
4653d796f0
tests: each test client work on a distinct port range
...
apparently when running tests in parallel (the default of --clients 16),
there's a chance for two tests to use the same port.
specifically, one test might shutdown a master and still have the
replica up, and then another test will re-use the port number of master
for another master, and then that replica will connect to the master of
the other test.
this can cause a master to count too many full syncs and fail a test if
we run the tests with --single integration/psync2 --loop --stop
see Probmem 2 in #7314
2020-05-28 10:09:51 +02:00
Oran Agra
31bd963557
32bit CI needs to build modules correctly
2020-05-28 10:09:51 +02:00
Oran Agra
01039e5964
adjust revived meaningful offset tests
...
these tests create several edge cases that are otherwise uncovered (at
least not consistently) by the test suite, so although they're no longer
testing what they were meant to test, it's still a good idea to keep
them in hope that they'll expose some issue in the future.
2020-05-28 10:09:51 +02:00
Oran Agra
98e6f2cd5b
revive meaningful offset tests
2020-05-28 10:09:51 +02:00
antirez
84117d13b7
Replication: showLatestBacklog() refactored out.
2020-05-28 10:09:51 +02:00
antirez
14d99c183f
Drop useless line from replicationCacheMaster().
2020-05-28 10:09:51 +02:00
antirez
0163e4e495
Another meaningful offset test removed.
2020-05-28 10:09:51 +02:00
antirez
24a0f7bf55
Remove the PSYNC2 meaningful offset test.
2020-05-28 10:09:51 +02:00
antirez
911c579b68
Remove the meaningful offset feature.
...
After a closer look, the Redis core devleopers all believe that this was
too fragile, caused many bugs that we didn't expect and that were very
hard to track. Better to find an alternative solution that is simpler.
2020-05-28 10:09:51 +02:00
antirez
7e55485b21
Set a protocol error if master use the inline protocol.
...
We want to react a bit more aggressively if we sense that the master is
sending us some corrupted stream. By setting the protocol error we both
ensure that the replica will disconnect, and avoid caching the master so
that a full SYNC will be required. This is protective against
replication bugs.
2020-05-28 10:09:51 +02:00
Oran Agra
abb9dcd975
daily CI test with tls
2020-05-28 10:09:51 +02:00
Oran Agra
0705a29959
avoid using sendfile if tls-replication is enabled
...
this obviously broke the tests, but went unnoticed so far since tls
wasn't often tested.
2020-05-28 10:09:51 +02:00