15247 Commits

Author SHA1 Message Date
zliang
27130a0845 debug with old img 2022-04-25 15:23:51 -06:00
zliang
8ae40c84e9 try remove multi arch for debugging 2022-04-25 15:10:00 -06:00
zliang
7876859850 support multi arch build and tests 2022-04-25 14:49:14 -06:00
Vivek Saini
cd715f6c52 Added multimaster test 2022-04-25 20:32:44 +00:00
zliang
a64a44172e -j instead of -j2 to build with the max number of cores instead of just 2 2022-04-22 19:09:16 -06:00
zliang
bfbea1df82 remove multi arch for now it is not working 2022-04-22 19:06:10 -06:00
zliang
fb9335b604 specify bash on the top of sh file 2022-04-22 18:45:19 -06:00
zliang
58469d47f3 add multi arch for machamp ci 2022-04-22 18:36:40 -06:00
zliang
0801e2cfb1 make build script executable 2022-04-22 18:06:36 -06:00
zliang
ea48d97dfe break into tests into steps 2022-04-22 18:03:42 -06:00
zliang
50490dece2 fix the Machamp build 2022-04-22 16:46:41 -06:00
John Sully
8a7ace0a34 PSYNC production fixes 2022-04-22 22:43:20 +00:00
zliang
4d30019452 make build_test.sh executable 2022-04-22 12:31:13 -06:00
zliang
fa8815d197 fix typo 2022-04-22 12:24:27 -06:00
zliang
deef34b2f7 setup Machamp ci 2022-04-22 12:08:39 -06: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
John Sully
20abf506ae Fix bug in dockerfile script 2022-04-18 23:05:03 +00:00
benschermel
978c4b82e7 modify dockerfile to build within image 2022-04-15 23:10:31 -04:00
benschermel
9031ac02f9 update packaging for OS merge 2022-04-15 23:09:44 -04:00
Vivek Saini
12ce8bcd2c Inclusive language 2022-04-14 23:54:05 +00:00
Vivek Saini
9e4d9560bc Remove asserts, RW lock can go below zero in cases of aeAcquireLock 2022-04-14 22:34:02 +00:00
Vivek Saini
c21b454de2 placement new instead of memcpy 2022-04-14 21:05:10 +00:00
Christian Legge
c81cc4ee2b 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
05bfd007f3 Defensive asserts for RWLock 2022-04-14 17:21:50 +00:00
Vivek Saini
ebaa5407b5 Integrate readwritelock with Pro Code 2022-04-14 17:15:19 +00:00
Malavan Sotheeswaran
dfeeee040d use atomic_load for g_pserver->mstime 2022-04-13 14:10:58 -04:00
Malavan Sotheeswaran
cc8c82b530 need to include stdint for uintptr_t 2022-04-13 14:10:58 -04:00
Malavan Sotheeswaran
b320dd0178 cannot mod a pointer 2022-04-13 14:10:58 -04:00
Malavan Sotheeswaran
1a2a3e730a remove nullptr subtraction 2022-04-13 14:10:58 -04:00
Malavan Sotheeswaran
114c94dc57 check ziplist len to avoid crash on empty ziplist convert 2022-04-13 14:08:44 -04:00
Malavan Sotheeswaran
2f9b429071 remove unused var in networking.cpp 2022-04-13 14:08:43 -04:00
John Sully
a582ba3874 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-13 14:07:14 -04:00
John Sully
5ecdeea431 Fix module test break 2022-04-13 14:07:14 -04:00
John Sully
59a45d00fe Fix MALLOC=memkind build issues 2022-04-13 14:07:14 -04:00
benschermel
428832c904 update README resource links 2022-04-13 14:07:14 -04:00
Malavan Sotheeswaran
3d4429fca1 set thread as offline when waiting for time thread lock 2022-04-13 14:06:58 -04:00
Malavan Sotheeswaran
0290964b8d time thread lock uses fastlock instead of std::mutex 2022-04-13 14:05:26 -04:00
Malavan Sotheeswaran
5bec423b25 only need to include readwritelock in ae 2022-04-13 14:04:07 -04:00