13192 Commits

Author SHA1 Message Date
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
zliang
6ab1c2deec update builder image 2022-04-25 18:55:01 -06:00
zliang
aedd1d4ca8 revert back changes 2022-04-25 15:32:37 -06:00
zliang
408191f831 debug with old img 2022-04-25 15:23:51 -06:00
zliang
465892a357 try remove multi arch for debugging 2022-04-25 15:10:00 -06:00
zliang
7b18695ead support multi arch build and tests 2022-04-25 14:49:14 -06:00
Vivek Saini
836c9b200b Added multimaster test 2022-04-25 20:32:44 +00:00
zliang
a564504b6a remove multi arch for now it is not working 2022-04-22 19:06:10 -06:00
zliang
c750cb155c add multi arch for machamp ci 2022-04-22 18:36:40 -06:00
zliang
d5b6530f4f break into tests into steps 2022-04-22 18:03:42 -06:00
zliang
935d96fe69 fix the Machamp build 2022-04-22 16:46:41 -06:00
John Sully
6bf79b69c6 PSYNC production fixes 2022-04-22 22:43:20 +00:00
zliang
2431c646cd make build_test.sh executable 2022-04-22 12:31:13 -06:00
zliang
89275cad1f fix typo 2022-04-22 12:24:27 -06:00
zliang
8f6a2b7d3b setup Machamp ci 2022-04-22 12:08:39 -06:00
John Sully
aefff904ef øMerge branch 'keydbpro' into merge_os_apr_13 2022-04-21 19:54:01 +00:00
John Sully
ae5110ba79 acceptTLS is threadsafe like the non TLS version 2022-04-21 19:53:16 +00:00
Ben Schermel
090ac04f1a Merge pull request #63 from Snapchat/pkg_update
Packaging Updates
2022-04-21 13:21:14 -04:00
Vivek Saini
9f81cc0385 Removed mergeReplicationId 2022-04-21 01:18:12 +00:00
John Sully
0fb5e74339 Merge branch 'keydbpro' of https://github.sc-corp.net/Snapchat/keydb-internal into keydbpro 2022-04-20 21:19:34 +00:00
Vivek Saini
eaf76b5944 call aeThreadOnline() earlier 2022-04-20 20:46:48 +00: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
John Sully
0c3fd61928 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
95c0146ec9 Make active client balancing a configurable option 2022-04-18 23:07:15 +00: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
Vivek Saini
609a8dc194 Inclusive language 2022-04-14 23:54:05 +00:00
Vivek Saini
faefec28a7 Remove asserts, RW lock can go below zero in cases of aeAcquireLock 2022-04-14 22:34:02 +00:00
Vivek Saini
a827158d27 placement new instead of memcpy 2022-04-14 21:05:10 +00:00
Christian Legge
264429c997 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-14 20:17:18 +00:00
Vivek Saini
88341c3672 Defensive asserts for RWLock 2022-04-14 17:21:50 +00:00
Vivek Saini
a4a886428f Integrate readwritelock with Pro Code 2022-04-14 17:15:19 +00:00
Malavan Sotheeswaran
9486f16857 use atomic_load for g_pserver->mstime 2022-04-13 14:10:58 -04:00
Malavan Sotheeswaran
b2a1b8cd0c need to include stdint for uintptr_t 2022-04-13 14:10:58 -04:00
Malavan Sotheeswaran
7d3c604280 cannot mod a pointer 2022-04-13 14:10:58 -04:00
Malavan Sotheeswaran
b0f4454851 remove nullptr subtraction 2022-04-13 14:10:58 -04:00
Malavan Sotheeswaran
8f02c51f2e check ziplist len to avoid crash on empty ziplist convert 2022-04-13 14:08:44 -04:00
Malavan Sotheeswaran
b73ece90f5 remove unused var in networking.cpp 2022-04-13 14:08:43 -04:00