13098 Commits

Author SHA1 Message Date
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
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
0b80316514 Fix module test break 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
2347f89e6c update README resource links 2022-04-13 14:07:14 -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
395eb1fd3a time thread lock uses fastlock instead of std::mutex 2022-04-13 14:05:26 -04:00
Malavan Sotheeswaran
2e4d50fbc4 only need to include readwritelock in ae 2022-04-13 14:04:07 -04:00
Malavan Sotheeswaran
09c1b0d5fc hide forklock object in ae 2022-04-13 14:04:02 -04:00
malavan
53c89372aa fork lock for all threads, use fastlock for readwritelock 2022-04-13 13:52:41 -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
cb4d9401ae 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
55dbb698e7 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
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
John Sully
6a483cc7ae Log the connected masters in the INFO command 2022-04-02 01:20:45 -04:00
John Sully
be777f9e7a Fix test failures due to async command slip 2022-04-01 05:08:41 +00:00
John Sully
5344e39488 Do not save while loading 2022-04-01 05:08:08 +00:00
John Sully
24f03b501e Fix test failure 2022-03-31 17:48:37 -04:00
John Sully
f7476575a1 Support dynamic runtime modification of tls-allowlist, and add config rewrite support 2022-03-31 17:48:37 -04:00
Vivek Saini
5d833a7173 Changed term whitelist to allowlist (#54) 2022-03-31 14:15:03 -04:00
John Sully
f220004ece Merge pull request #53 from Snapchat/freeClientLockFix
Fix lock inversion in freeClientAsync
2022-03-29 12:37:12 -04:00
John Sully
7fb077ff2f Fix issue with AE unlocking in beforeSleep 2022-03-29 12:17:13 -04:00
John Sully
8eaede1c61 Fix lock inversion in freeClientAsync - make it not dependent on the AE Lock 2022-03-29 00:19:49 -04:00
John Sully
91b77ccf4c Merge pull request #51 from jsully/keydbpro
KeyDB Pro Collab Bug Fixes and Mac Build
2022-03-08 18:00:28 -05:00
John Sully
f73ce412c8 Fix mac build warnings 2022-03-07 19:28:39 -05:00
John Sully
650553255c Fix spurious warnings about unclean RocksDB databases on startup 2022-03-07 16:42:37 -05:00
John Sully
f6ec157551 Fix FLASH Read performance after data is loaded from fastsync (the rocksdb files have compression enabled when written by the bulkWrite function 2022-03-07 16:41:51 -05:00
John Sully
6eaefb7895 Fix test instability caused by MVCC slip with lfence command when async commands are enabled 2022-03-07 16:40:56 -05:00
John Sully
6fbf6f8ed1 Fix fast-sync perf issue while server is under load (batch size too small) 2022-03-07 16:40:01 -05:00
John Sully
5df39b56ac Fix cluster test fail 2022-03-07 16:39:01 -05:00
John Sully
4697923f41 Optimize async command snapshot creation, and make slip configurable 2022-03-07 16:00:48 -05:00
John Sully
0d917c8580 Fix mac build breaks and remove license checks (won't work on mac) 2022-03-07 14:50:31 -05:00
Vivek Saini
9ca488bc63 TLS Name Validation (#48)
Added TLS Name Validation
2022-03-03 13:59:07 -05:00
Artem Danilov
7e057b5856 enable TLS build by default (#43)
* enable TLS build by default

* move export to src folder

* fix comments
2022-02-11 16:36:42 -08:00
John Sully
e37cb4c925 Merge pull request #42 from Snapchat/keepttl-failure
fix intermittent KEEPTTL test failure
2022-02-10 12:53:59 -05:00
adanilov
be0abf08ca fix intermittent KEEPTTL test failure 2022-02-10 16:37:13 +00:00
Vivek Saini
2677899cd4 Merge pull request #40 from Snapchat/tls_cert_rotation
Added support for TLS certificate rotation.
2022-02-02 17:38:35 -05:00
Vivek Saini
2316d787fe Updated CI to run rotation test 2022-02-02 17:28:55 -05:00
Vivek Saini
6f00a680bd Updated default config file with TLS rotation config option 2022-02-02 15:49:52 -05:00
Vivek Saini
9a727f663f Added TLS rotation support 2022-02-02 14:20:19 -05:00
christianEQ
df51a33413 Merge remote-tracking branch 'opensource/RELEASE_6' into keydbpro
Former-commit-id: 439c655a543f4d3224d90bcdeb21ba43c2ab8ab7
2022-01-14 22:19:42 +00:00
MalavanEQAlpha
4e2e461acc Merge pull request #386 from EQ-Alpha/fix_rdb_hang
add readwrite lock for forking

Former-commit-id: dabb81960f6ccc7f62c53648127924fc2fef7cdc
2022-01-14 13:19:33 -08:00