John Sully
c12d30f61a
Merge branch 'psync_multimaster_fixes' of https://github.sc-corp.net/Snapchat/keydb-internal into psync_multimaster_fixes
2022-05-02 22:17:26 +00:00
Vivek Saini
5162693e1b
Updated test replica configs so tests make sense
2022-04-28 21:58:35 +00:00
Vivek Saini
d0386cadc6
Cleanup test suite
2022-04-28 21:36:01 +00:00
Vivek Saini
1995023a0c
Inclusive language fix
2022-04-28 21:34:10 +00:00
Vivek Saini
20c34a91da
Converted some existing PSYNC tests for multimaster
2022-04-28 21:30:40 +00:00
John Sully
c7108ac57e
PSYNC production fixes
2022-04-26 02:07:28 +00:00
John Sully
af0f3db13e
Merge branch 'merge_os_apr_13' of https://github.sc-corp.net/Snapchat/keydb-internal into merge_os_apr_13
2022-04-26 02:06:43 +00:00
John Sully
3d2a25fa33
acceptTLS is threadsafe like the non TLS version
2022-04-26 01:55:22 +00:00
John Sully
68957b279a
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
33a4d78a90
Make active client balancing a configurable option
2022-04-26 01:55:22 +00:00
John Sully
0a8cbc19b3
Fix bug in dockerfile script
2022-04-26 01:55:22 +00:00
Vivek Saini
a0208b7301
Removed mergeReplicationId
2022-04-26 01:55:22 +00:00
Vivek Saini
d7b4f1e492
call aeThreadOnline() earlier
2022-04-26 01:55:22 +00:00
Vivek Saini
4d053b1aa1
Inclusive language
2022-04-26 01:55:22 +00:00
Vivek Saini
738f4d44bd
Remove asserts, RW lock can go below zero in cases of aeAcquireLock
2022-04-26 01:55:22 +00:00
Vivek Saini
09067046f6
placement new instead of memcpy
2022-04-26 01:55:22 +00:00
Christian Legge
0ed0745d90
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
6a89ac329c
Defensive asserts for RWLock
2022-04-26 01:55:22 +00:00
Vivek Saini
c529f0e1ed
Integrate readwritelock with Pro Code
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
4af996e32e
use atomic_load for g_pserver->mstime
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
eb46be3685
need to include stdint for uintptr_t
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
0f187c7465
cannot mod a pointer
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
d63c5acb20
remove nullptr subtraction
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
8f3f127203
check ziplist len to avoid crash on empty ziplist convert
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
203e4e228f
remove unused var in networking.cpp
2022-04-26 01:55:22 +00:00
John Sully
2928806ff0
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
b90b753328
Fix module test break
2022-04-26 01:55:22 +00:00
John Sully
57ccb88641
Fix MALLOC=memkind build issues
2022-04-26 01:55:22 +00:00
benschermel
b5a7e4bcac
update README resource links
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
5e2d3fafae
set thread as offline when waiting for time thread lock
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
6d1cd00f15
time thread lock uses fastlock instead of std::mutex
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
fa0a60240b
only need to include readwritelock in ae
2022-04-26 01:55:22 +00:00
Malavan Sotheeswaran
f35baf8e7d
hide forklock object in ae
2022-04-26 01:55:22 +00:00
malavan
a352731178
fork lock for all threads, use fastlock for readwritelock
2022-04-26 01:55:21 +00:00
John Sully
96f7d482d4
Update ci.yml
...
Change min tested version to 18.04
2022-04-26 01:55:21 +00:00
Vivek Saini
cd715f6c52
Added multimaster test
2022-04-25 20:32:44 +00:00
John Sully
8a7ace0a34
PSYNC production fixes
2022-04-22 22:43:20 +00:00
John Sully
fbc9c9f022
øMerge branch 'keydbpro' into merge_os_apr_13
2022-04-21 19:54:01 +00:00
John Sully
f9b0cb0d55
acceptTLS is threadsafe like the non TLS version
2022-04-21 19:53:16 +00:00
Ben Schermel
0a2bbd8f43
Merge pull request #63 from Snapchat/pkg_update
...
Packaging Updates
2022-04-21 13:21:14 -04:00
Vivek Saini
d09eb51539
Removed mergeReplicationId
2022-04-21 01:18:12 +00:00
John Sully
cf7290ba17
Merge branch 'keydbpro' of https://github.sc-corp.net/Snapchat/keydb-internal into keydbpro
2022-04-20 21:19:34 +00:00
Vivek Saini
d103046e17
call aeThreadOnline() earlier
2022-04-20 20:46:48 +00:00
benschermel
bcead44d60
update deb copyright
2022-04-20 16:17:43 -04:00
benschermel
2282b89b3e
update copyright
2022-04-20 16:07:37 -04:00
benschermel
5c8926e2ca
update changelog to use replica as terminology
2022-04-20 14:28:18 -04:00
Vivek Saini
85dd7527d6
Fix KeyDB not building with TLS < 1.1.1
2022-04-20 14:24:50 -04:00
Vivek Saini
345a3873a0
Only run the tls-name-validation test if --tls is passed into runtest
2022-04-20 12:15:19 -04:00
John Sully
05dc5a470e
With TLS throttle accepts if server is under heavy load - do not change non TLS behavior
2022-04-18 23:07:36 +00:00
John Sully
63e78ab7f3
Make active client balancing a configurable option
2022-04-18 23:07:15 +00:00