Ben Schermel
d36033ed4b
add fix for centos builds
2020-05-27 11:21:02 -04:00
John Sully
5438397822
Merge branch 'unstable' into RELEASE_6
2020-05-26 01:31:55 -04:00
John Sully
1449c8b9fe
Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
2020-05-26 01:29:08 -04:00
John Sully
1938af27f5
Fix client tracking, also ensure tracking tests are enabled
2020-05-26 01:28:52 -04:00
Maxime de Roucy
123bc125cf
acl: @replication command group
...
containing mandatory commands for replication (used by masteruser user)
2020-05-25 02:35:22 -04:00
John Sully
ecbe168b54
Fix issue #170 . Intermittent crash destroying fastlock due to implicit type conversion in assert
2020-05-25 02:13:57 -04:00
John Sully
00cef78858
Fix infinite logs of Error in rreplay
2020-05-24 20:05:22 -04:00
John Sully
d05da0fabd
Enable TLS connections
2020-05-24 19:57:16 -04:00
John Sully
1fe7970d30
Bump version
2020-05-24 18:36:00 -04:00
John Sully
4db3f2a443
don't keep feeding data to clients pending close
2020-05-24 12:46:11 -04:00
John Sully
fd710d590a
Quiet TSAN during exit
2020-05-24 12:45:10 -04:00
John Sully
9b98c9edd3
Install deps for daily workflow
2020-05-24 11:19:53 -04:00
John Sully
4893eedacb
Hold the AE lock until we process the repl backlog after a command
2020-05-24 11:19:23 -04:00
John Sully
fb50163b47
Add standardized way to post client dependent functions
2020-05-24 02:46:39 -04:00
John Sully
3b8463f9d2
remove unnecessary cplusplus guard
2020-05-24 02:45:55 -04:00
John Sully
42c7677690
race in connection state when setting a handler on a different thread
2020-05-24 02:45:11 -04:00
John Sully
8665f25031
Fix ASAN races
2020-05-24 01:58:33 -04:00
John Sully
1c6b573147
Incorrect locking in replication error paths
2020-05-24 01:57:49 -04:00
John Sully
90162da1a6
Incorrect memory order on weak ordered architectures
2020-05-24 01:57:18 -04:00
John Sully
1ca6c1dd56
If we request shutdown from a client on a different thread than a blocking lua script we fail to actually shutdown until the script completes
2020-05-24 01:56:23 -04:00
John Sully
2d27c8ecdb
race calculating client overhead
2020-05-24 01:53:43 -04:00
John Sully
59cda9cfb9
During RDB load we can only handle clients on the main thread as our workers are not yet created. This change also unifies the accept logic across the socket types
2020-05-23 16:03:24 -04:00
John Sully
091af64003
Diskless replication handler needs to run on the main thread
2020-05-23 15:15:42 -04:00
ShooterIT
a12210c875
Fix reply bytes calculation error
...
Fix #7275 .
2020-05-23 13:02:55 -04:00
John Sully
43649fc5b4
Merge tag '6.0.3' into unstable
...
Redis 6.0.3
2020-05-22 16:53:10 -04:00
John Sully
01cc25653a
Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
2020-05-22 16:45:27 -04:00
John Sully
a010e4a4b2
Merge tag '6.0.2' into unstable
...
Redis 6.0.2
2020-05-22 16:45:18 -04:00
John Sully
817a11ff11
Merge commit 'cb683a84f7a9d530bec629f2b656e7d0842a0f75' into unstable
2020-05-22 15:56:35 -04:00
John Sully
c52e1fc78c
Merge commit '3a441c7d95c8757d2ab12ff730cc7ca8899538c9' into unstable
2020-05-22 15:42:50 -04:00
John Sully
d74871da40
Merge commit 'c57d9146f41f4b661d9d2cb48b83b3abc757ba0e' into unstable
2020-05-22 15:36:44 -04:00
John Sully
a25cf15ecd
Update README.md
2020-05-22 14:03:29 -04:00
John Sully
c505df8830
Merge tag '6.0.1' into unstable
...
Redis 6.0.1.
2020-05-21 23:41:36 -04:00
John Sully
f214ada545
Missing noexcept
2020-05-21 23:25:50 -04:00
John Sully
c10aa3b8b0
build failure on macos
2020-05-21 23:24:34 -04:00
John Sully
6311d709c3
Fix bad merge in CI.yml
2020-05-21 22:09:06 -04:00
John Sully
8ab77465db
Merge commit 'bec68bff2978de88b23140f41b6a943162333b11' into unstable
2020-05-21 19:37:42 -04:00
John Sully
201bf73ef7
Merge commit '414debfd04d21c0b19d5f6bb5249398d83670f3d' into unstable
2020-05-21 18:57:28 -04:00
John Sully
49784c8122
Merge commit 'cbcd07777dc569618a34f59e5fd0de53178f4f1d' into unstable
2020-05-21 18:48:49 -04:00
John Sully
3e03f308b5
Merge commit '5719b3054a534e62c25ae97680ecd4f7238ba484' into unstable
2020-05-21 17:55:09 -04:00
John Sully
95cecb0229
Merge commit '026cc11b056f063631d990f1a9db45b4e583974e' into unstable
2020-05-21 17:45:15 -04:00
John Sully
7676f5b15f
Merge commit '024c380b9da02bc4112822c0f5f9ac1388b4205b' into unstable
2020-05-21 17:36:53 -04:00
John Sully
d5b057534a
Merge commit 'eba28e2cea0b2632cf751426ada02adf24f273db' into unstable
2020-05-21 17:32:53 -04:00
John Sully
7a15f6dfc7
Merge commit 'c35a53169ffdbdf73f91224b6e62f6129fb9a838' into unstable
2020-05-21 17:30:56 -04:00
John Sully
712d825c23
Override missing new, fix new/delete mismatch
2020-05-20 15:57:08 -04:00
antirez
7803b1148d
Redis 6.0.3.
2020-05-16 18:11:58 +02:00
antirez
1eab62f7e5
Remove the client from CLOSE_ASAP list before caching the master.
...
This was broken in 1a7cd2c : we identified a crash in the CI, what
was happening before the fix should be like that:
1. The client gets in the async free list.
2. However freeClient() gets called again against the same client
which is a master.
3. The client arrived in freeClient() with the CLOSE_ASAP flag set.
4. The master gets cached, but NOT removed from the CLOSE_ASAP linked
list.
5. The master client that was cached was immediately removed since it
was still in the list.
6. Redis accessed a freed cached master.
This is how the crash looked like:
=== REDIS BUG REPORT START: Cut & paste starting from here ===
1092:S 16 May 2020 11:44:09.731 # Redis 999.999.999 crashed by signal: 11
1092:S 16 May 2020 11:44:09.731 # Crashed running the instruction at: 0x447e18
1092:S 16 May 2020 11:44:09.731 # Accessing address: 0xffffffffffffffff
1092:S 16 May 2020 11:44:09.731 # Failed assertion: (:0)
------ STACK TRACE ------
EIP:
src/redis-server 127.0.0.1:21300(readQueryFromClient+0x48)[0x447e18]
And the 0xffff address access likely comes from accessing an SDS that is
set to NULL (we go -1 offset to read the header).
2020-05-16 18:04:17 +02:00
antirez
ae306a3df6
Redis 6.0.2.
2020-05-15 22:29:52 +02:00
Yossi Gottlieb
16ba33c05b
TLS: Fix test failures on recent Debian/Ubuntu.
...
Seems like on some systems choosing specific TLS v1/v1.1 versions no
longer works as expected. Test is reduced for v1.2 now which is still
good enough to test the mechansim, and matters most anyway.
2020-05-15 22:23:24 +02:00
Yossi Gottlieb
77ae66930c
TLS: Add crypto locks for older OpenSSL support.
...
This is really required only for older OpenSSL versions.
Also, at the moment Redis does not use OpenSSL from multiple threads so
this will only be useful if modules end up doing that.
2020-05-15 22:23:24 +02:00
David Carlier
389697988a
NetBSD build update.
...
This platform supports CPU affinity (but not OpenBSD).
2020-05-15 22:23:24 +02:00