guybe7
c58f26fbbc
lpGetInteger returns int64_t, avoid overflow ( #10068 )
...
Fix #9410
Crucial for the ms and sequence deltas, but I changed all
calls, just in case (e.g. "flags")
Before this commit:
`ms_delta` and `seq_delta` could have overflown, causing `currid` to be wrong,
which in turn would cause `streamTrim` to trim the entire rax node (see new test)
2022-07-06 03:44:24 +00:00
benschermel
f261c4844f
Merge pull request #438 from Snapchat/update_pkg
...
Packaging Updates
2022-06-06 22:38:28 -04:00
benschermel
4ed430dcc6
Merge pull request #443 from Snapchat/update_gem_ref
...
update gem reference
2022-06-06 22:35:11 -04:00
benschermel
0d43a857de
update gem reference
2022-06-06 14:55:24 -04:00
benschermel
79e97ee31e
update deb pkg references and changelog
2022-05-25 01:10:56 -04:00
benschermel
d0718889c0
update dockerfiles
2022-05-25 01:08:24 -04:00
John Sully
54571108f5
Revert ci.yml to unstable branch version
2022-05-23 14:56:45 -04:00
John Sully
f3b8bc74fb
On Alpine we must have a reasonable stack size
2022-05-20 16:40:20 -04:00
John Sully
519ce3f7f2
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
afc685aff8
Fix O(n^2) algorithm in the GC cleanup logic
2022-05-19 21:46:55 -04:00
John Sully
2784bd4430
Fix TSAN warnings on the repl backlog
2022-05-17 15:37:22 -04:00
John Sully
ef3091db92
Disable async commands by default
2022-05-17 15:37:22 -04:00
John Sully
aaa9f061b8
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
b4aa94a12d
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
0f79207e72
Dictionary use correct acquire/release semantics
2022-05-17 15:37:22 -04:00
John Sully
30514dbe3c
Avoid unnecessary rehashing when a rehash is abandoned
2022-05-17 15:37:22 -04:00
John Sully
357591fa8f
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
2a66d6a57e
Initialize noshrink, it was dangling
2022-05-17 15:37:22 -04:00
John Sully
121a4370f3
Prevent crash on shutdown by avoiding dtors (they are unnecessary anyways)
2022-05-17 15:37:22 -04:00
John Sully
a7b8f4c82b
Fix assertion in async rehash
2022-05-17 15:37:22 -04:00
John Sully
d1163de3c0
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
bb249ccabd
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
ec143055b8
Update license
2022-05-12 13:27:46 -04:00
benschermel
e3a4c2dcaa
update deb master changelog
2022-05-12 13:27:46 -04:00
John Sully
3a52505eca
Delete COPYING to replace with BSD license
2022-05-12 13:16:59 -04:00
John Sully
c830365ee5
Limit max overage to 20% during RDB save
2022-05-10 18:30:12 +00:00
John Sully
9626ddc655
Merge pull request #70 from Snapchat/update_readme
...
Update readme & remove Enterprise references
2022-05-10 14:26:36 -04:00
benschermel
faa81c9da2
remove Enterprise references
2022-05-10 12:58:59 -04:00
benschermel
e5fde00ab7
update readme
2022-05-10 11:30:00 -04:00
benschermel
7d417315f7
update readme
2022-05-10 11:21:55 -04:00
John Sully
ad3e9f2b0e
Remove unnecessary libs
2022-05-06 17:34:14 +00:00
John Sully
73020fc8a2
Fix musl/Alpine build failures
2022-05-06 17:05:04 +00:00
John Sully
29e0c9321a
Fix crash in save of masterinfo
2022-05-06 16:29:27 +00:00
John Sully
a9454db457
Disable FLASH
2022-05-06 01:20:06 +00:00
John Sully
f25549f4e0
Disable async for hget commands as it is not ready
2022-05-05 20:50:44 +00:00
John Sully
5449202bad
Merge pull request #68 from Snapchat/psync_mm_fixes
...
Fix PSYNC test crashes
2022-05-05 10:32:18 -04:00
John Sully
33432efb52
Ensure we force moves not copies when ingesting bulk insert files
2022-05-04 16:51:48 +00:00
John Sully
dec9fac5fa
Fix PSYNC test crashes
2022-05-04 01:37:40 +00:00
John Sully
3b1b42292f
Merge pull request #67 from Snapchat/vsaini_psync_test_additions
...
Quick fix to make psync tests work
2022-05-02 23:11:56 -04:00
Vivek Saini
b7837feca7
Quick fix to make psync tests work
2022-05-03 00:41:30 +00:00
John Sully
aa141f95ba
Merge pull request #66 from Snapchat/psync_multimaster_fixes
...
Psync multimaster fixes
2022-05-02 20:24:28 -04:00
John Sully
3348d8107a
active-rep test reliability
2022-05-03 00:02:22 +00:00
John Sully
1ed35a2da8
Merge branch 'keydbpro' into psync_multimaster_fixes
2022-05-02 22:19:22 +00:00
John Sully
28a31a8396
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
4bbd77e699
Merge branch 'keydbpro' of https://github.sc-corp.net/Snapchat/keydb-internal into keydbpro
2022-05-02 22:14:31 +00:00
Vivek Saini
a247fec487
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
7b13942a6e
Updated test replica configs so tests make sense
2022-04-28 21:58:35 +00:00
Vivek Saini
86cfcf706a
Cleanup test suite
2022-04-28 21:36:01 +00:00
Vivek Saini
842471c9bb
Inclusive language fix
2022-04-28 21:34:10 +00:00
Vivek Saini
0abb3e04f2
Converted some existing PSYNC tests for multimaster
2022-04-28 21:30:40 +00:00