Yossi Gottlieb
bf6c002005
TLS: Session caching configuration support. ( #7420 )
...
* TLS: Session caching configuration support.
* TLS: Remove redundant config initialization.
Former-commit-id: d3834c5069
2020-09-16 02:10:29 +00:00
John Sully
d4dd336834
Merge tag '6.0.5' into unstable
...
Redis 6.0.5
Former-commit-id: b736a95b0d
2020-07-13 00:55:23 +00:00
John Sully
c5f6cb1ba5
Add multi-master-no-forward command to reduce bus traffic with multi-master
...
Former-commit-id: d99d06b125
2020-07-12 19:25:19 +00:00
John Sully
efc8e719f9
Prevent deadlock in RM_ThreadSafeContextLock() when triggered as part of a module callback in a server thread
...
Former-commit-id: e01312642b
2020-07-12 18:17:53 +00:00
John Sully
cd08792df7
Fix failure to merge databases on active replica sync, due to bad merge with Redis 6
...
Former-commit-id: cd9514f4c8
2020-07-12 01:13:22 +00:00
antirez
a7d3670da5
Adapt EVAL+busy script test to new behavior.
2020-06-09 12:19:30 +02:00
zhaozhao.zz
1d7bf208ce
AOF: append origin SET if no expire option
2020-06-09 11:53:01 +02:00
John Sully
052a707097
Endurance mode for tests ignore flaky ones
...
Former-commit-id: 515bb0e6bd
2020-06-07 16:59:59 -04:00
John Sully
0a17bbe748
Solo tests should work with loopn
...
Former-commit-id: bc7ea8fb20
2020-06-07 15:06:50 -04:00
John Sully
c31b96339a
Stream tests rely on deferring clients, mitigate races caused by them
...
Former-commit-id: 2caf8e4c80
2020-06-07 13:59:41 -04:00
John Sully
2c560f27b8
replication test race
...
Former-commit-id: e1f3cd6ec3
2020-06-07 01:14:57 -04:00
John Sully
b006a06924
fix race in test
...
Former-commit-id: 02e821530a
2020-06-07 00:44:11 -04:00
John Sully
f7a7d16524
Make lazyfree more reliable
...
Former-commit-id: b6c3d80edb
2020-06-07 00:40:58 -04:00
Oran Agra
f33de403ed
fix pingoff test race
2020-06-06 11:44:21 +02:00
John Sully
3403a1f648
Detect issues like #189
...
Former-commit-id: 0042586190
2020-06-05 22:18:28 -04:00
John Sully
7b70d8c7d0
maxmem tests should be run solo for higher reliability
...
Former-commit-id: 95f46e6077
2020-06-01 16:50:30 -04:00
John Sully
9fb7552b63
PSYNC test shouldn't wait forever
...
Former-commit-id: 130613e166
2020-06-01 16:13:58 -04:00
John Sully
2b08505fed
PSYNC test reliability improvements (test only issue)
...
Former-commit-id: 50fd4fa7e6
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: e6a9a6b428
2020-06-01 15:33:19 -04:00
John Sully
df5b0f0be5
sendfile has high latency in some scenarios, don't use it
...
Former-commit-id: 1eb0e3c1c6
2020-05-31 23:22:25 -04:00
John Sully
eddc1ad46a
Don't start multimaster tests until all nodes are connected
...
Former-commit-id: 202b97eff7
2020-05-31 22:50:30 -04:00
John Sully
4b08ccd0b1
Fix client race in test (test only issue)
...
Former-commit-id: f25aebf269
2020-05-31 21:39:50 -04:00
John Sully
e71c44b506
--loop should run forever
...
Former-commit-id: 9b1e636a66
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: 5147f0153a
2020-05-31 21:27:15 -04:00
John Sully
a73e580ad4
Fix memory test failures with multithreading enabled
...
Former-commit-id: 5803540422
2020-05-30 00:06:15 -04:00
John Sully
e380087cdb
Unify beforeSleep handling
...
Former-commit-id: 1cb48c7bf6
2020-05-29 17:44:55 -04:00
John Sully
2aed24d0a5
active replica tests on slow computers
...
Former-commit-id: c9920849dd
2020-05-29 01:58:15 -04:00
John Sully
acde7c340e
Fix test issue with TLS
...
Former-commit-id: 81b240f81d
2020-05-29 01:44:52 -04:00
John Sully
cfe9f8f3bc
Merge tag '6.0.4' into unstable
...
Redis 6.0.4.
Former-commit-id: 9c31ac7925
2020-05-29 00:57:07 -04:00
antirez
59cd4c9f65
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
6c1bb7b194
Test: add the tracking unit as default.
2020-05-28 10:22:29 +02:00
Oran Agra
1aee695e52
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
a2ae463520
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
86e562d691
32bit CI needs to build modules correctly
2020-05-28 10:09:51 +02:00
Oran Agra
ab2984b1e2
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
1ff5a222de
revive meaningful offset tests
2020-05-28 10:09:51 +02:00
antirez
3f8d113f1b
Another meaningful offset test removed.
2020-05-28 10:09:51 +02:00
antirez
d4541349dc
Remove the PSYNC2 meaningful offset test.
2020-05-28 10:09:51 +02:00
antirez
8f10137227
Test: PSYNC2 test can now show server logs.
2020-05-28 10:09:51 +02:00
John Sully
d7fa406a0e
Fix client tracking, also ensure tracking tests are enabled
...
Former-commit-id: 1938af27f5
2020-05-26 01:28:52 -04:00
John Sully
2d783a3cbf
Merge tag '6.0.2' into unstable
...
Redis 6.0.2
Former-commit-id: a010e4a4b2
2020-05-22 16:45:18 -04:00
John Sully
67b7d512cb
Merge commit 'cb683a84f7a9d530bec629f2b656e7d0842a0f75' into unstable
...
Former-commit-id: 817a11ff11
2020-05-22 15:56:35 -04:00
John Sully
1eeb5de69f
Merge commit 'c57d9146f41f4b661d9d2cb48b83b3abc757ba0e' into unstable
...
Former-commit-id: d74871da40
2020-05-22 15:36:44 -04:00
Qu Chen
58fc456cbd
Disconnect chained replicas when the replica performs PSYNC with the master always to avoid replication offset mismatch between master and chained replicas.
2020-05-22 12:37:59 +02:00
Oran Agra
436be34986
fix a rare active defrag edge case bug leading to stagnation
...
There's a rare case which leads to stagnation in the defragger, causing
it to keep scanning the keyspace and do nothing (not moving any
allocation), this happens when all the allocator slabs of a certain bin
have the same % utilization, but the slab from which new allocations are
made have a lower utilization.
this commit fixes it by removing the current slab from the overall
average utilization of the bin, and also eliminate any precision loss in
the utilization calculation and move the decision about the defrag to
reside inside jemalloc.
and also add a test that consistently reproduce this issue.
2020-05-22 12:37:49 +02:00
WuYunlong
2e41827435
Handle keys with hash tag when computing hash slot using tcl cluster client.
2020-05-22 12:37:49 +02:00
WuYunlong
eb2c8b2c61
Add a test to prove current tcl cluster client can not handle keys with hash tag.
2020-05-22 12:37:49 +02:00
Oran Agra
00d8b92b89
fix valgrind test failure in replication test
...
in b4416280c i added more keys to that test to make it run longer
but in valgrind this now means the test times out, give valgrind more
time.
2020-05-22 12:37:49 +02:00
Oran Agra
5e17e6276c
add regression test for the race in #7205
...
with the original version of 6.0.0, this test detects an excessive full
sync.
with the fix in 1a7cd2c0e , this test detects memory corruption,
especially when using libc allocator with or without valgrind.
2020-05-22 12:37:49 +02:00
antirez
96e7c011e2
Improve the PSYNC2 test reliability.
2020-05-22 12:37:49 +02:00