27431 Commits

Author SHA1 Message Date
John Sully
ef537cc4d3 Improve reliability of fragmentation tests 2022-09-29 16:51:38 +00:00
John Sully
5afdab4e1f Remove threads from test as they aren't reliable in machamp 2022-09-29 16:16:18 +00:00
John Sully
ac194e1a63 disable tls in machamp 2022-09-29 04:25:18 +00:00
John Sully
f3a7f07537 Improve machamp reliability by not overloading test machines 2022-09-28 21:44:51 +00:00
John Sully
12516b66ac Fix incorrect default branch 2022-09-28 21:11:11 +00:00
John Sully
b4dcff4636 Improve reliability of async parts of the soft shutdown tests 2022-09-28 21:05:42 +00:00
John Sully
5cfbd72e7d Merge pull request #99 from Snapchat/atlas_fixes
Atlas fixes
2022-08-29 21:22:52 -04:00
John Sully
f147c758d4 Fix P99 latency issue for TLS where we leave work for the next event loop
tlsProcessPendingData() needs to be called before we execute queued commands because it may enqueue more commands
2022-08-26 18:05:00 +00:00
John Sully
fcb4fdc99d Fix integer overflow of the track changes counter 2022-08-26 17:36:23 +00:00
John Sully
3e83935994 Merge pull request #96 from Snapchat/repl_asan_fixes
Repl asan fixes
2022-08-23 13:39:25 -04:00
John Sully
c97dc08e38 Additional fixes 2022-08-23 17:33:14 +00:00
John Sully
dd65d4af44 Fix ASAN use after free 2022-08-23 06:37:26 +00:00
John Sully
1f741154f1 Merge pull request #92 from Snapchat/fix_sync_cancel_race
Fix a race when undoConnectWithMaster changes mi->repl_transfer_s but…
2022-08-22 13:35:29 -04:00
John Sully
6bb155a989 Merge pull request #93 from Snapchat/fix_race_trackchanges
Fix a race in processChanges/trackChanges with rdbLoadRio by acquirin…
2022-08-22 13:35:10 -04:00
John Sully
fce669e1ac Fix a race in processChanges/trackChanges with rdbLoadRio by acquiring the lock when trackChanges is set 2022-08-22 03:37:32 +00:00
John Sully
1810f8af35 Fix a race when undoConnectWithMaster changes mi->repl_transfer_s but the connection is not yet closed and the event handler runs 2022-08-21 22:35:08 +00:00
Malavan Sotheeswaran
23f92fa94c Merge pull request #87 from Snapchat/fix_ftracking_bug
Check tracking on every db in rdbLoadRio
2022-08-17 15:33:09 -04:00
Malavan Sotheeswaran
c5cd0d89f8 fix warnings 2022-08-17 10:31:30 -07:00
Malavan Sotheeswaran
a8f6132862 check tracking per db 2022-08-17 09:50:16 -07:00
John Sully
86f9888018 Merge pull request #78 from Snapchat/cert_leak_fix
Fix certificate leak during connection when tls-allowlists are used
2022-07-14 12:37:53 -04:00
John Sully
e3f186e698 Fix certificate leak during connection when tls-allowlists are used 2022-07-14 04:36:51 +00:00
John Sully
93ea66ece5 Merge branch 'keydbpro' of https://github.sc-corp.net/Snapchat/keydb-internal into keydbpro 2022-06-29 22:48:29 +00:00
John Sully
56bf1af9b1 Merge pull request #74 from Snapchat/fix-build-script
Update build-and-publish.sh
2022-06-14 18:13:25 -04:00
Malavan Sotheeswaran
6afeef0291 Update build-and-publish.sh 2022-06-14 17:26:00 -04:00
John Sully
d6cf39c485 Merge branch 'main' into keydbpro 2022-06-05 19:33:49 +00:00
John Sully
9024d1320e Merge pull request #72 from Snapchat/soft_shutdown
Implements the soft shutdown feature
2022-05-25 15:13:54 -04:00
John Sully
f60bb34994 Ensure clean shutdown with multiple threads 2022-05-24 05:10:18 +00:00
John Sully
84b37edfcf Implements the soft shutdown feature to allow clients to cooperatively disconnect preventing disruption during shutdown 2022-05-24 03:04:57 +00:00
John Sully
15d5c3b0f9 Merge pull request #71 from Snapchat/oss_merge_back
Merge OSS back into pro
2022-05-23 23:02:13 -04:00
John Sully
2c38667ecf
Revert ci.yml to unstable branch version 2022-05-23 14:56:45 -04:00
John Sully
38310ec9f6 On Alpine we must have a reasonable stack size 2022-05-20 16:40:20 -04:00
John Sully
ea4941a3e7 Fix crash in expire when a snapshot is in flight. Caused by a perf optimization getting the expire map out of sync with the val 2022-05-20 13:07:26 -04:00
John Sully
5dbf1f6bd6 Fix O(n^2) algorithm in the GC cleanup logic 2022-05-19 21:46:55 -04:00
John Sully
d2d76c2ed1 Fix unmerged files 2022-05-18 01:36:48 +00:00
John Sully
a265f815e2 Merge OSS back into pro 2022-05-18 01:29:15 +00:00
John Sully
ba1275f653 Fix TSAN warnings on the repl backlog 2022-05-17 15:37:22 -04:00
John Sully
20766a02b8 Disable async commands by default 2022-05-17 15:37:22 -04:00
John Sully
a9d3490f9c Silence TSAN errors on ustime and mstime. Every CPU we support is atomic on aligned ints, but correctness matters 2022-05-17 15:37:22 -04:00
John Sully
8405c99017 Add fence barriers for the repl backlog (important for AARCH64 and other weak memory models) 2022-05-17 15:37:22 -04:00
John Sully
027ad50581 Dictionary use correct acquire/release semantics 2022-05-17 15:37:22 -04:00
John Sully
e38537202e Avoid unnecessary rehashing when a rehash is abandoned 2022-05-17 15:37:22 -04:00
John Sully
8d8aabb978 Prevent us from starting a rehash when one wasn't already in progress. This can cause severe issues for snapshots 2022-05-17 15:37:22 -04:00
John Sully
418356c03a Initialize noshrink, it was dangling 2022-05-17 15:37:22 -04:00
John Sully
3caf6060c4 Prevent crash on shutdown by avoiding dtors (they are unnecessary anyways) 2022-05-17 15:37:22 -04:00
John Sully
9e138815a1 Fix assertion in async rehash 2022-05-17 15:37:22 -04:00
John Sully
51d3e2cbbc Fix reference counting failure in the dict. This is caused by std::swap also swapping refcounts 2022-05-17 15:37:22 -04:00
jfinity
242d6aabb2 Fix Readme typo from github org transition
Replace mention of scratch-file-path with db-s3-object
2022-05-12 16:55:14 -04:00
John Sully
e2e1b4d5d5 Update license 2022-05-12 13:27:46 -04:00
benschermel
03287d69be update deb master changelog 2022-05-12 13:27:46 -04:00
John Sully
a2ac9fec3b
Delete COPYING to replace with BSD license 2022-05-12 13:16:59 -04:00