John Sully
fe8efa916b
Merge tag '6.2.1' into unstable
...
Former-commit-id: bfed57e3e0
2021-05-19 02:59:48 +00:00
John Sully
bef72e5f6a
Implement rehash during spinlock
...
Former-commit-id: f68a26381a
2021-02-07 19:11:05 -05:00
VivekSainiEQ
eb83f3d47b
Removed more uses of fSynchronous and the use of condition variable and mutex on the control struct.
...
Former-commit-id: 6ab08cc3e1
2021-02-01 15:51:22 -05:00
VivekSainiEQ
cba4dcffdf
removed synchronous calls to aePostFunction and changed scope of g_fModuleThread in order to prevent module related deadlocks, issue #214
...
Former-commit-id: 3b8d1f7076
2021-02-01 15:51:22 -05:00
John Sully
513da06a6f
Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
...
Former-commit-id: d03c2de901
2020-12-11 03:59:50 +00:00
John Sully
69f375c45b
Remove AE_ASSERT and use the proper assert infra
...
Former-commit-id: a80dd5d001
2020-12-11 00:24:27 +00:00
Kajaruban Surendran
5886c1b985
Handling of aeResizeSetSize's return code for current thread
...
Former-commit-id: c25fb3d74f
2020-12-04 14:54:06 -05:00
John Sully
2b1dee4191
Avoid locking if we won't run a time event
...
Former-commit-id: 33b05c859a
2020-10-16 06:19:52 +00:00
John Sully
e06152eb13
Fix lock after free in module API
...
Former-commit-id: d88fd1588d
2020-08-10 06:10:24 +00:00
Muhammad Zahalqa
792bc57fdf
unique lock used with cv.wait already owns mutex
...
Former-commit-id: 8bc70e9840
2020-06-24 23:18:53 -04:00
Muhammad Zahalqa
d4dfac4b6a
Fix bug in condition_variabe.wait usage
...
consition variable wait should always be called with a locked mutex.
This code break the pre-conditions of using wait.
Former-commit-id: 5b81303f04
2020-06-24 23:18:53 -04:00
Muhammad Zahalqa
98abc0e47e
aeCommand objects no need for memset and missing init of some memebers.
...
Former-commit-id: aeed09c346
2020-06-24 23:15:29 -04:00
John Sully
66e9afe49c
Some valgrind fixes
...
Former-commit-id: ba974c9810
2020-06-07 23:20:10 -04:00
John Sully
18f6579ec7
Ensure CRON jobs run in a clean environment
...
Former-commit-id: c6dce838b7
2020-06-05 21:35:47 -04:00
John Sully
4038288c4e
Fix module multithreaded test failures
...
Former-commit-id: 1ef35cf466
2020-05-31 23:46:12 -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
aa48225a76
Merge commit '76d57161d960f27ac92765118e3b80fef8847b8f' into redis_6_merge
...
Former-commit-id: 320bc3c032
2020-04-14 21:04:42 -04:00
John Sully
07005cc187
Merge commit 'be4bc1a5be26a7fde2fd05acd8187f5f0ed59f25' into redis_6_merge
...
Former-commit-id: 516c8c6e23
2020-04-14 20:42:48 -04:00
John Sully
873d5537e8
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 30a603ce05
2020-02-16 18:18:24 -05:00
John Sully
5f2e509129
aeDeleteEventLoop use after free and leak fixes
...
Former-commit-id: 2fd93c5789
2020-02-16 03:34:25 -05:00
John Sully
ee99605def
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 18a5f46b61
2020-02-11 02:39:08 -05:00
John Sully
3282d4114f
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: 1a4c3224c9
2020-02-11 01:00:21 -05:00
John Sully
8e5fe97525
Merge remote-tracking branch 'redis/6.0' into redis_merge
...
Former-commit-id: ef9a3cadcf
2020-01-27 02:55:48 -05:00
John Sully
da17594170
Fix some static analysis warnings
...
Former-commit-id: 42a8f22c21
2019-12-27 18:17:22 -05:00
John Sully
451c6e81f4
Improve AE Assert message
...
Former-commit-id: cb0fc7cca2
2019-11-14 19:34:13 -05:00
John Sully
1c1260d71f
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: 600fc241cf
2019-10-22 21:34:51 -04:00
John Sully
b98eed9945
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: 46a78c69e7
2019-08-26 20:18:52 -04:00
John Sully
afa1a2e023
Suppress initialized data sanitizer warnings
...
Former-commit-id: ad32ba0343
2019-07-18 15:49:03 -04:00
John Sully
9252500928
Fix libcxxabi clang compile failure in travis, as well as bool issue due to old clang
...
Former-commit-id: 79e5160e37
2019-06-18 00:42:01 -04:00
John Sully
fb1b845fe5
Fix issues with relaxed memory model architectures
...
Former-commit-id: e37bc4ad40
2019-06-17 23:00:12 -04:00
John Sully
e2e3acf04c
Factor out some normally const globals
...
Former-commit-id: fa2e407873
2019-04-21 13:20:45 -04:00
John Sully
02b030bc8c
Module threading fixes
...
Former-commit-id: 2785a8b4d4
2019-03-07 19:13:01 -05:00
John Sully
44945090fd
Merge branch 'Multithread' into unstable
...
Former-commit-id: 8c074a7d01
2019-02-23 02:24:23 -05:00
John Sully
78451a4223
Support a non-spinlock mutex if compiled in
2019-02-23 01:50:02 -05:00
John Sully
d016b967c5
Implement try_lock
2019-02-22 01:23:31 -05:00
John Sully
ebf0ae3e97
Merge branch 'unstable' of https://github.com/antirez/redis into Multithread
2019-02-21 18:17:12 -05:00
John Sully
29c1105132
Multithreading works!
2019-02-20 01:20:26 -05:00
John Sully
bf41d3916e
Most tests failing, except some memory and number of PSYNC syncs
2019-02-19 01:11:00 -05:00
John Sully
acbad0c04e
deadlock fixes
2019-02-18 23:52:21 -05:00
John Sully
a7bed6327a
Extra AE functionality
2019-02-18 18:56:45 -05:00
John Sully
5fc8747feb
make headers C++ safe
2019-02-15 16:55:40 -05:00
John Sully
62090d0a97
make networking.c a C++ file
2019-02-15 14:11:34 -05:00
John Sully
48f6d0d800
Fix most failing tests
2019-02-15 10:53:32 -05:00
John Sully
d62178ec8c
Initial work of multithreaded key-db. Note: Fails tests
2019-02-11 03:36:18 -05:00
John Sully
e40a203a1d
move ae to C++
...
Former-commit-id: eb9070c833
2019-02-10 20:24:11 -05:00
John Sully
c4dbc557eb
move ae to C++
2019-02-10 20:24:11 -05:00