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
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
05bfd007f3
Defensive asserts for RWLock
2022-04-14 17:21:50 +00:00
Vivek Saini
88341c3672
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
Vivek Saini
a4a886428f
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
9486f16857
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
b2a1b8cd0c
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
7d3c604280
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
b0f4454851
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
8f02c51f2e
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
Malavan Sotheeswaran
b73ece90f5
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
e36bd49cf2
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
0b80316514
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
John Sully
8af58be5cd
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
benschermel
2347f89e6c
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
b1f0d8ddf5
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
395eb1fd3a
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
Malavan Sotheeswaran
2e4d50fbc4
only need to include readwritelock in ae
2022-04-13 14:04:07 -04:00
Malavan Sotheeswaran
6dcd4ca0fc
hide forklock object in ae
2022-04-13 14:04:02 -04:00
Malavan Sotheeswaran
09c1b0d5fc
hide forklock object in ae
2022-04-13 14:04:02 -04:00
malavan
0ee3a5ace1
fork lock for all threads, use fastlock for readwritelock
2022-04-13 13:52:41 -04:00
malavan
53c89372aa
fork lock for all threads, use fastlock for readwritelock
2022-04-13 13:52:41 -04:00
John Sully
afcea28fed
Update ci.yml
...
Change min tested version to 18.04
2022-04-13 13:34:18 -04:00
John Sully
6689604d3d
Update ci.yml
...
Change min tested version to 18.04
2022-04-13 13:34:18 -04:00
John Sully
c910471914
Fix leaked reference count to dict
2022-04-13 12:51:00 -04:00
John Sully
71121dff4e
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
750a7fdb16
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
994fa6b453
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
7ef5e9cd2a
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
d06b9cbbe0
Handle RREPLAY errors gracefully
2022-04-13 12:51:00 -04:00
John Sully
415269bc50
Build the docker image with the modstatsd
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