VivekSainiEQ
86ca4300c8
Added test for issue #257
...
Former-commit-id: 779c775df9
2020-11-25 17:21:37 -05:00
VivekSainiEQ
47a18f5131
Made NULL pointer check explicit, issue #257
...
Former-commit-id: 1d4d2925c2
2020-11-25 17:21:37 -05:00
VivekSainiEQ
d4a2ccd50b
Added NULL check to function objFromAllocPtr, now NULL input will map to NULL output even if active replica is enabled
...
Former-commit-id: b67db7c2d5
2020-11-25 17:21:37 -05:00
John Sully
3d75ddeb87
Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
...
Former-commit-id: 18953b2998
2020-11-23 02:01:54 +00:00
John Sully
c179c98870
Fix issue where active replication doesn't replicate RDB data
...
Former-commit-id: 527b7eb074
2020-11-23 02:01:40 +00:00
Kajaruban Surendran
3ee8edc8b0
fix for the server crash when the maxclients increased via config set
...
Former-commit-id: 34a97c447f
2020-11-20 15:20:46 -05:00
John Sully
e8753d1b4b
Blocking clients should not crash if an active replica loads a remote RDB with a key in the blocklist
...
Former-commit-id: 1c525e20b1
2020-11-19 23:28:01 +00:00
John Sully
da2a3dbf99
Add ability to compile KeyDB without MOTD and curl
...
Former-commit-id: f3794d2c42
2020-11-13 20:51:30 +00:00
John Sully
5de36840ad
Add missing file
...
Former-commit-id: 97fd736923
2020-11-11 03:29:38 +00:00
John Sully
e085772d01
Second implementation of nested hashes
...
Former-commit-id: ba950a3d1f
2020-11-06 19:24:48 +00:00
John Sully
7db922f44b
Additional test reliability fixes
...
Former-commit-id: dad5a902d3
2020-10-27 07:25:43 +00:00
John Sully
588fa164c3
Disarm not release D'oh
...
Former-commit-id: 3e33fbcd35
2020-10-27 06:41:33 +00:00
John Sully
18c34bbfe2
Active replica test reliability enhancements
...
Former-commit-id: 444555d3e4
2020-10-27 06:23:14 +00:00
John Sully
b226b318ff
Prevent crashes on shutdown due to lock being held
...
Former-commit-id: 6a74f524e5
2020-10-27 04:53:19 +00:00
John Sully
cba89cf9f9
Ensure MVCC timestamp is incremented after the real time is updated
...
Former-commit-id: 9c5b59ac01
2020-10-27 04:52:35 +00:00
John Sully
0e44e11e3a
Fix multithreaded test failure
...
Former-commit-id: 1840601f8e
2020-10-27 01:54:13 +00:00
John Sully
c6ebf961f4
Avoid unnecessary memory fences
...
Former-commit-id: 88962af8b2
2020-10-26 02:28:38 +00:00
John Sully
b336d269ca
Remove addReply*Async methods since we already know if its async or not. This is just a source of bugs
...
Former-commit-id: df22cdf6e9
2020-10-24 02:18:03 +00:00
John Sully
95606ffb10
Allow the locker to be used even without a client
...
Former-commit-id: 041446005b
2020-10-23 20:21:49 +00:00
John Sully
c88a19bc5e
Fix multithread test failures
...
Former-commit-id: 7c39a9b0e1
2020-10-23 15:57:39 +00:00
John Sully
dcd6d809aa
Remove leak warning with ASAN in the CLI
...
Former-commit-id: 05cd92f766
2020-10-21 21:16:08 +00:00
John Sully
b0d9d3bc09
run when necessary
...
Former-commit-id: d724e7226c
2020-10-16 07:00:03 +00:00
John Sully
b5074e9b1e
Fix replica buffer overflows
...
Former-commit-id: 738c782f02
2020-10-16 06:47:40 +00: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
a9f4c37604
Reduce async write copies
...
Former-commit-id: ed369d7223
2020-10-15 23:10:17 +00:00
John Sully
665a9ed7c6
Fix branding
...
Former-commit-id: fb32bb12b1
2020-10-15 20:15:35 +00:00
John Sully
bfe4b6d1aa
Relax memory order where possible
...
Former-commit-id: 3e996035ea
2020-10-13 06:35:16 +00:00
John Sully
b2b72ff412
Significantly improve perf in replication scenarios
...
Former-commit-id: ae8a94d615
2020-10-12 15:27:03 +00:00
John Sully
239d874f1f
Avoid excess locking, seeing up to 8% performance improvements
...
Former-commit-id: 69a74a567b
2020-10-12 05:50:58 +00:00
John Sully
2983ffe139
Perf: remove unnecessary vector operations
...
Former-commit-id: 1b46d4f09a
2020-10-12 04:28:39 +00:00
John Sully
2c45f36dd4
Remove dead code
...
Former-commit-id: c6f13892e0
2020-10-09 21:02:09 +00:00
Hanif Bin Ariffin
5c957fe228
Fixed non-empty check in src/Makefile
...
Per [GNU Make Manual](https://www.gnu.org/software/make/manual/html_node/Conditional-Syntax.html ).
To properly check for non-empty variable, one must strip whitespaces.
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com >
Former-commit-id: 05e0f32345
2020-10-05 10:58:49 -04:00
Hanif Bin Ariffin
bb67320752
Removed dead code from a macro in zmalloc.cpp
...
I think the compiler would have removed this no-op anyways but it
definitely wasted me some 30 minutes on this :(
I was hoping I could remove the branch through some bit-hacking but
apparently its dead code :). Oh well, its 30 minutes of refreshing
bit hacking.
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com >
Former-commit-id: 8171e6de13
2020-10-03 20:41:26 -04:00
John Sully
71da0d44a5
Delete CONTRIBUTING
...
Former-commit-id: b042495f37
2020-10-01 11:17:56 -04:00
John Sully
2085e21dca
Fix module test failures due to locking
...
Former-commit-id: 420ccdfbae
2020-10-01 00:08:54 +00:00
John Sully
51ae66539d
Fix TLS test failure due to bad merge
...
Former-commit-id: 41466a4147
2020-09-30 20:21:40 +00:00
John Sully
f7b7c5a168
Keep redis-cli.c C89 compatible
...
Former-commit-id: 9798f2d711
2020-09-30 20:17:51 +00:00
John Sully
a543a502b8
Mac build break fix
...
Former-commit-id: 5f3543921b
2020-09-30 20:17:02 +00:00
John Sully
1fd53af71b
Fix stream replication failure with active replication, issue #238
...
Former-commit-id: a41366cc3a
2020-09-30 20:12:54 +00:00
John Sully
4f18a247e3
Merge tag '6.0.8' into unstable
...
Former-commit-id: 4c7e4b91a6
2020-09-30 19:47:55 +00:00
John Sully
3c0556093b
Test RDB merge on load with active replication
...
Former-commit-id: 28183f4b66
2020-09-29 03:26:06 +00:00
John Sully
a4aa190f20
Drop min-clients-per-thread to a more reasonable number
...
Former-commit-id: a0abc1eddd
2020-09-28 19:17:36 +00:00
John Sully
d0885f945e
Support read only replicas attaching to active replicas (Bug #229 )
...
Former-commit-id: 676644f2db
2020-09-23 04:16:08 +00:00
John Sully
1321170cdc
Active replicas memory leak
...
Former-commit-id: 22ac56d62d
2020-09-22 21:38:35 +00:00
John Sully
b243fa876f
Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
...
Former-commit-id: 143f7f634d
2020-09-21 04:42:46 +00:00
Dmitry Dorofeev
823de49e83
Fix to support FreeBSD pthread_getthreadid_np call
...
Former-commit-id: 955faef23a
2020-09-21 00:41:41 -04:00
John Sully
7b0a5d1e40
Fix TSAN errors in fastlock
...
Former-commit-id: 2e159e6ea3
2020-09-21 03:26:50 +00:00
John Sully
c3a0665f2a
Fix issue #222
...
Former-commit-id: 02b533fec3
2020-09-21 01:09:58 +00:00
John Sully
b0379b9655
Make multimaster replication info statelessly paresable
...
Former-commit-id: de3099e6d8
2020-09-20 23:57:06 +00:00
John Sully
f333cf98c9
Dramatically improve the performance of subkey expires
...
Former-commit-id: 368f67f422
2020-09-20 23:30:21 +00:00