John Sully
dd0932e5d3
Fix higher latency at low load by grouping clients to threads. This fixes slow perf in cluster benchmarks mentioned in issue #102
...
Former-commit-id: 3a8a5a425a6983e1677f329c6291b21e0b70f350
2020-02-11 01:00:21 -05:00
John Sully
476ed25b4c
fix leak in cron
...
Former-commit-id: c1f4e344bdaf21bc74fae6e1b0cb7fc1ce687e62
2020-01-29 19:03:18 -05:00
John Sully
4021faa713
failure to post a function is not fatal unless we wrote part of a command (should be impossible)
...
Former-commit-id: e1c642a033ab0157a66571189e81817cb84fd421
2020-01-28 21:41:56 -05:00
John Sully
d815f5e0b5
Merge remote-tracking branch 'redis/6.0' into redis_merge
...
Former-commit-id: 6c77453720e0451158376df5511ed8c121d47d35
2020-01-27 02:55:48 -05:00
John Sully
61ed2d7204
Fix some static analysis warnings
...
Former-commit-id: e6969d28863a696e53fd68b70f55a83fd8f0dc02
2019-12-27 18:17:22 -05:00
John Sully
b70a709b5c
Improve AE Assert message
...
Former-commit-id: d0cd1804d173b846fb6bd5f8adfa6681ec5a8f17
2019-11-14 19:34:13 -05:00
John Sully
a59a0d1d2a
Optimize deadlock detection, fix callstack for ASM, and annotate locks
...
Note: This change moves our assembly code to use the GNU Assembler because NASM seems to be incapable of emitting the necessary debug information for callstack unwinding to work.
Former-commit-id: dca2c55128264a469c59652a1e9a30b8f6373b91
2019-10-22 21:34:51 -04:00
John Sully
e30a46485b
Fix race condition in PUB/SUB and other async reply commands where the client can be freed before our handler is executed on the client thread. When this occurs the client pointer is dangling
...
Former-commit-id: 921d7918577b2fad463a87ac08d2e7b7c92d4530
2019-08-26 20:18:52 -04:00
John Sully
29d267bc1b
Suppress initialized data sanitizer warnings
...
Former-commit-id: 116f5d80390c700a0e4000d2a9bbf627b76aa023
2019-07-18 15:49:03 -04:00
John Sully
0e45882715
Fix libcxxabi clang compile failure in travis, as well as bool issue due to old clang
...
Former-commit-id: 962196252e0c270997de26005705a2f8bbb82aa7
2019-06-18 00:42:01 -04:00
John Sully
1766230c04
Fix issues with relaxed memory model architectures
...
Former-commit-id: 1e426ff051ba08fb19607e82354fcd2b5df4d555
2019-06-17 23:00:12 -04:00
John Sully
ddebaad770
Factor out some normally const globals
...
Former-commit-id: e6ee321919efa1fae6643444b5df14add1f97830
2019-04-21 13:20:45 -04:00
John Sully
538df67ba9
Module threading fixes
...
Former-commit-id: 6e830e357135b02aef47e90fafcad9b08684a111
2019-03-07 19:13:01 -05:00
John Sully
9492019b61
Merge branch 'Multithread' into unstable
...
Former-commit-id: 6451edd213d7f2140be9ebc128270eef874b63f3
2019-02-23 02:24:23 -05:00
John Sully
84f38452e5
Support a non-spinlock mutex if compiled in
2019-02-23 01:50:02 -05:00
John Sully
2788cf57b0
Implement try_lock
2019-02-22 01:23:31 -05:00
John Sully
8cd2cdca3d
Merge branch 'unstable' of https://github.com/antirez/redis into Multithread
2019-02-21 18:17:12 -05:00
John Sully
627c19e02f
Multithreading works!
2019-02-20 01:20:26 -05:00
John Sully
3f4315125c
Most tests failing, except some memory and number of PSYNC syncs
2019-02-19 01:11:00 -05:00
John Sully
e9a2b6f561
deadlock fixes
2019-02-18 23:52:21 -05:00
John Sully
e9c1d30749
Extra AE functionality
2019-02-18 18:56:45 -05:00
John Sully
90c6c37628
make headers C++ safe
2019-02-15 16:55:40 -05:00
John Sully
aed915cebc
make networking.c a C++ file
2019-02-15 14:11:34 -05:00
John Sully
0f293d4fb0
Fix most failing tests
2019-02-15 10:53:32 -05:00
John Sully
6059bc7e67
Initial work of multithreaded key-db. Note: Fails tests
2019-02-11 03:36:18 -05:00
John Sully
cdf373825b
move ae to C++
...
Former-commit-id: 092d0fc3fcd21bbd4cde945ccee32196ceb4d5d6
2019-02-10 20:24:11 -05:00
John Sully
bd46c2041e
move ae to C++
2019-02-10 20:24:11 -05:00