John Sully
cfcb9df71c
Merge branch 'keydbpro' into psync_multimaster_fixes
2022-05-02 22:19:22 +00:00
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
John Sully
15531af421
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
John Sully
66971f7e24
Merge branch 'keydbpro' of https://github.sc-corp.net/Snapchat/keydb-internal into keydbpro
2022-05-02 22:14:31 +00:00
John Sully
63e5507dfe
Merge branch 'keydbpro' of https://github.sc-corp.net/Snapchat/keydb-internal into keydbpro
2022-05-02 22:14:31 +00:00
Vivek Saini
3724cf97d9
Merge pull request #60 from Snapchat/merge_os_apr_13
...
Merge in changes from Open Source.
For the most part, this encompasses two changes:
- Adding partial sync capabilities to multi-master
- Adding ReadWrite locks to prevent global lock issues when forking threads, specifically with regards to the time thread.
2022-05-02 13:26:21 -04:00
Vivek Saini
faf9359e10
Merge pull request #60 from Snapchat/merge_os_apr_13
...
Merge in changes from Open Source.
For the most part, this encompasses two changes:
- Adding partial sync capabilities to multi-master
- Adding ReadWrite locks to prevent global lock issues when forking threads, specifically with regards to the time thread.
2022-05-02 13:26:21 -04:00
Vivek Saini
5162693e1b
Updated test replica configs so tests make sense
2022-04-28 21:58:35 +00:00
Vivek Saini
c45c77b0ef
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
cd59462dca
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
72c033c9af
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
Vivek Saini
c0eeda86e1
Converted some existing PSYNC tests for multimaster
2022-04-28 21:30:40 +00:00
John Sully
343c47a935
Ensure recreated tables use the same settings as ones made at boot
2022-04-27 23:38:55 +00:00
John Sully
6e4e75af9c
Ensure recreated tables use the same settings as ones made at boot
2022-04-27 23:38:55 +00:00
John Sully
b011bcbe93
Ensure we are responsive during storagecache clears
2022-04-27 17:32:40 +00:00
John Sully
cfa9ba8eb1
Ensure we are responsive during storagecache clears
2022-04-27 17:32:40 +00:00
John Sully
807c443199
Merge branch 'keydbpro' of https://github.sc-corp.net/Snapchat/keydb-internal into keydbpro
2022-04-27 17:00:35 +00:00
John Sully
48128dd4c7
Merge branch 'keydbpro' of https://github.sc-corp.net/Snapchat/keydb-internal into keydbpro
2022-04-27 17:00:35 +00:00
Zhaozhen Liang
d78a54a715
Merge pull request #64 from Snapchat/setup-machamp-ci
...
setup Machamp ci
2022-04-26 16:35:39 -06:00
Zhaozhen Liang
6b795bf62e
Merge pull request #64 from Snapchat/setup-machamp-ci
...
setup Machamp ci
2022-04-26 16:35:39 -06:00
John Sully
c7108ac57e
PSYNC production fixes
2022-04-26 02:07:28 +00:00
John Sully
b37a68c8f1
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
5ce8bcd511
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
1bf92015dc
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
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
33a4d78a90
Make active client balancing a configurable option
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
John Sully
0a8cbc19b3
Fix bug in dockerfile script
2022-04-26 01:55:22 +00:00
Vivek Saini
54f746f99b
Removed mergeReplicationId
2022-04-26 01:55:22 +00:00
Vivek Saini
a0208b7301
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
d7b4f1e492
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
4d053b1aa1
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
738f4d44bd
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
Vivek Saini
09067046f6
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
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
cde7939fe1
Defensive asserts for RWLock
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
3fadb9787a
Integrate readwritelock with Pro Code
2022-04-26 01:55:22 +00:00
Vivek Saini
c529f0e1ed
Integrate readwritelock with Pro Code
2022-04-26 01:55:22 +00:00