Commit Graph
10384 Commits
Author SHA1 Message Date
Malavan Sotheeswaran 972bab9fc5 missed a typedef keyword 2022-12-09 14:28:58 -08:00
Malavan Sotheeswaran 882a7f9064 remove typedef 2022-12-09 14:27:25 -08:00
Malavan Sotheeswaran 33f4553522 fix typedef issue in c++ 2022-12-09 14:10:50 -08:00
Yossi Gottlieb 68890e6d16 Fix OpenSSL 3.0.x related issues. (#10291)
* Drop obsolete initialization calls.
* Use decoder API for DH parameters.
* Enable auto DH parameters if not explicitly used, which should be the
  preferred configuration going forward.
2022-12-09 13:47:08 -08:00
Paul Chen fad2e877cf rocksdb log using up the diskspace on flash (#519) 2022-12-07 15:13:43 -05:00
Paul Chen 496bc38fda use debug for logging the message instead 2022-11-18 16:17:16 -05:00
Paul Chen 560d8a839c trigger repl_curr_off!= master_repl_offset assert failure when having pending write case 2022-11-18 16:17:16 -05:00
Paul ChenandPaul Chen e8a85cf56d [BUG] Moves key to another DB, the source key was removed if the move failed due to the key exists in the destination db #497 (#498)
Co-authored-by: Paul Chen <mingchen@Mings-MacBook-Pro.local>
2022-10-20 15:34:29 -07:00
John Sully c16db92d3e Make building flash optional 2022-09-29 21:27:15 +00:00
John Sully 98b40f7729 Remove incorrect assert that fires when the repl backlog is used fully 2022-09-29 19:07:02 +00:00
John Sully 441cbddb9b Merge remote-tracking branch 'public/main' into OSS_RELEASE_SEP29_2022 2022-09-29 18:54:02 +00:00
John Sully 9fd2bf29ab Fix O(n) algorithm in INFO command 2022-09-29 18:44:44 +00:00
John Sully c318c5ef14 Workaround bug in snapshot sync - abort don't crash 2022-09-28 19:00:26 +00:00
John Sully f0db60776b Fix Issue #486 2022-09-14 14:48:28 +00:00
Ilya Shipitsin ea3dbde4d9 src\redis-cli.c: fix potential null pointer dereference found by cppcheck
src\redis-cli.c:5488:35: warning: Either the condition
'!table' is redundant or there is possible null pointer dereference:
table. [nullPointerRedundantCheck]
2022-09-14 10:03:08 -04:00
root 4d3d713e42 avoid from instatiating EpochHolder multiple times to improve performance and cpu utilization 2022-09-14 10:02:02 -04:00
root 5bdc65eb15 avoid from instatiating EpochHolder multiple times to improve performance and cpu utilization 2022-09-14 10:02:02 -04:00
Karthick Ariyaratnam (A) 97d0728850 Remove old assertion which is commented out. 2022-09-14 10:01:21 -04:00
Karthick Ariyaratnam (A) 0e7e05483a Fixes a crash where the server assertion failed when the key exists in DB during RDB load 2022-09-14 10:01:21 -04:00
John Sully 9fb0ce4b3b Prevent crash on load in long running KeyDB instances 2022-09-01 15:26:26 +00:00
John Sully b4ca390069 Fix race removing key cache 2022-09-01 15:16:27 +00:00
John Sully dde698ce73 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 2a3e0f7cbf Fix integer overflow of the track changes counter 2022-08-26 17:36:23 +00:00
John Sully 36921bae6a Additional fixes 2022-08-23 17:33:14 +00:00
John Sully a1a7a48fea Fix ASAN use after free 2022-08-23 06:37:26 +00:00
John Sully b1ddacb49b 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 1be9f0c585 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 b8e948e77c 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 adc03a3b0d fix warnings 2022-08-17 10:31:30 -07:00
Malavan Sotheeswaran cbabf82873 check tracking per db 2022-08-17 09:50:16 -07:00
John Sully 162515d19b Fix crash running INFO command while a disk based backlog is set 2022-08-01 04:53:56 +00:00
John Sully ebc8d63e97 Fix issue #480 2022-08-01 03:14:09 +00:00
John Sully 0c3734a46e Fix certificate leak during connection when tls-allowlists are used 2022-07-14 04:36:51 +00:00
John Sully 4c5f81fe76 Do not allow commands to run in background when in eval, Issue #452 2022-07-06 04:26:13 +00:00
John Sully c7625f6d32 Fix issue #454 (BSD build break) 2022-07-06 04:04:47 +00:00
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
John Sully a2a980c079 Merge branch 'main' into keydbpro 2022-06-05 19:33:49 +00:00
John Sully d207bc6612 Ensure clean shutdown with multiple threads 2022-05-24 05:10:18 +00:00
John Sully fef21b9c04 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 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 fb7aacec46 Merge OSS back into pro 2022-05-18 01:29:15 +00: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