John Sully
1bf92015dc
acceptTLS is threadsafe like the non TLS version
2022-04-26 01:55:22 +00:00
John Sully
914da1f62c
With TLS throttle accepts if server is under heavy load - do not change non TLS behavior
2022-04-26 01:55:22 +00:00
John Sully
dcaca5d79c
Make active client balancing a configurable option
2022-04-26 01:55:22 +00:00
Vivek Saini
54f746f99b
Removed mergeReplicationId
2022-04-26 01:55:22 +00:00
Vivek Saini
78efb2f629
call aeThreadOnline() earlier
2022-04-26 01:55:22 +00:00
Vivek Saini
d441901c39
Inclusive language
2022-04-26 01:55:22 +00:00
Vivek Saini
09f216fb03
Remove asserts, RW lock can go below zero in cases of aeAcquireLock
2022-04-26 01:55:22 +00:00
Vivek Saini
b1b6d31305
placement new instead of memcpy
2022-04-26 01:55:22 +00:00
Christian Legge
0f26a14276
Save and restore master info in rdb to allow active replica partial sync ( #371 )
...
* save replid for all masters in rdb
* expanded rdbSaveInfo to hold multiple master structs
* parse repl-masters from rdb
* recover replid info from rdb in active replica mode, attempt partial sync
* save offset from rdb into correct variable
* don't change replid based on master in active rep
* save and load psync info from correct fields
2022-04-26 01:55:22 +00:00
Vivek Saini
cde7939fe1
Defensive asserts for RWLock
2022-04-26 01:55:22 +00:00
Vivek Saini
3fadb9787a
Integrate readwritelock with Pro Code
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
bdfd34cf10
use atomic_load for g_pserver->mstime
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
8f6c6bb6a4
need to include stdint for uintptr_t
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
2c881b390a
cannot mod a pointer
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
f189bbb4e4
remove nullptr subtraction
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
e0548b4722
check ziplist len to avoid crash on empty ziplist convert
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
60a85737e6
remove unused var in networking.cpp
2022-04-26 01:55:22 +00:00
John Sully
f7ea8bf0f1
Eliminate firewall dialogs on mac for regular and cluster tests. There are still issues with the sentinel tests but attempting to bind only to localhost causes failures
2022-04-26 01:55:22 +00:00
John Sully
f59cd18e8c
Fix module test break
2022-04-26 01:55:22 +00:00
John Sully
9dad9f6ef4
Fix MALLOC=memkind build issues
2022-04-26 01:55:22 +00:00
benschermel
e0d08c62e5
update README resource links
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
78086d6293
set thread as offline when waiting for time thread lock
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
aa07287c05
time thread lock uses fastlock instead of std::mutex
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
24a586cdf1
only need to include readwritelock in ae
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
4d4acaa155
hide forklock object in ae
2022-04-26 01:55:22 +00:00
malavan
52402c4786
fork lock for all threads, use fastlock for readwritelock
2022-04-26 01:55:21 +00:00
John Sully
84b57684b0
Update ci.yml
...
Change min tested version to 18.04
2022-04-26 01:55:21 +00:00
Ben Schermel
090ac04f1a
Merge pull request #63 from Snapchat/pkg_update
...
Packaging Updates
2022-04-21 13:21:14 -04:00
benschermel
19d3076467
update deb copyright
2022-04-20 16:17:43 -04:00
benschermel
9253611008
update copyright
2022-04-20 16:07:37 -04:00
benschermel
9f0474e73d
update changelog to use replica as terminology
2022-04-20 14:28:18 -04:00
Vivek Saini
08f88f7a59
Fix KeyDB not building with TLS < 1.1.1
2022-04-20 14:24:50 -04:00
Vivek Saini
dc5dd7ee36
Only run the tls-name-validation test if --tls is passed into runtest
2022-04-20 12:15:19 -04:00
benschermel
825dfb19dc
modify dockerfile to build within image
2022-04-15 23:10:31 -04:00
benschermel
0cc2a59f8c
update packaging for OS merge
2022-04-15 23:09:44 -04:00
John Sully
c910471914
Fix leaked reference count to dict
2022-04-13 12:51:00 -04:00
John Sully
cb4d9401ae
Improve connect performance by reducing lock contention, I'm seeing 50-100% improvements
2022-04-13 12:51:00 -04:00
John Sully
c9d70ca62d
Do not send updates to servers overly frequently during load
2022-04-13 12:51:00 -04:00
John Sully
55dbb698e7
SSL connections are expensive, do not do them overly frequently
2022-04-13 12:51:00 -04:00
John Sully
2987bb62c7
Handle RREPLAY errors gracefully
2022-04-13 12:51:00 -04:00
John Sully
52b8c153f8
Make multithread load configurable and disabled by default ( #57 )
...
Co-authored-by: John Sully <john@csquare.ca>
2022-04-07 13:20:38 -04:00
John Sully
6a483cc7ae
Log the connected masters in the INFO command
2022-04-02 01:20:45 -04:00
John Sully
be777f9e7a
Fix test failures due to async command slip
2022-04-01 05:08:41 +00:00
John Sully
5344e39488
Do not save while loading
2022-04-01 05:08:08 +00:00
John Sully
24f03b501e
Fix test failure
2022-03-31 17:48:37 -04:00
John Sully
f7476575a1
Support dynamic runtime modification of tls-allowlist, and add config rewrite support
2022-03-31 17:48:37 -04:00
Vivek Saini
5d833a7173
Changed term whitelist to allowlist ( #54 )
2022-03-31 14:15:03 -04:00
John Sully
f220004ece
Merge pull request #53 from Snapchat/freeClientLockFix
...
Fix lock inversion in freeClientAsync
2022-03-29 12:37:12 -04:00
John Sully
7fb077ff2f
Fix issue with AE unlocking in beforeSleep
2022-03-29 12:17:13 -04:00
John Sully
8eaede1c61
Fix lock inversion in freeClientAsync - make it not dependent on the AE Lock
2022-03-29 00:19:49 -04:00