27398 Commits

Author SHA1 Message Date
zliang
b51f267112 remove submodule instead use the source 2023-08-14 11:13:06 -06:00
zliang
a055da3b4c update relative path in compilation 2023-08-14 10:56:51 -06:00
zliang
68ce12ad3a checkout to a06a5b9359f31d946fe163b9038586982971ae49 2023-08-14 10:25:23 -06:00
zliang
b8208794a3 move cpp-statsd-client to deps 2023-08-14 10:23:22 -06:00
Zhaozhen Liang
cb147defbd Merge pull request #212 from Snapchat/migrate-keydb_modstatsd
migrate keydb_modstatsd to keydb-internal
2023-08-11 15:40:41 -06:00
zliang
4d56a1c5ed have clean also trigger keydb_modstatsd clean 2023-08-11 15:19:53 -06:00
zliang
289df10eb1 update 2023-08-11 15:16:10 -06:00
zliang
6e0305828e include trigger keydb_modstatsd Makefile in modules Makefile 2023-08-11 15:14:35 -06:00
zliang
6e1fbb2d14 add submodule cpp-statsd-client 2023-08-11 13:34:23 -06:00
zliang
c94560f0ba rm 2023-08-11 13:32:20 -06:00
zliang
db3fb7e9fe migrate keydb_modstatsd to keydb-internal 2023-08-11 13:26:28 -06:00
John Sully
c2c831dc53 Build break fix 2023-07-14 19:49:46 +00:00
John Sully
bef77862e7 Prevent crash on free when using repl-disk-buffer-reserve (#207) 2023-07-14 14:39:23 -04:00
John Sully
d552fd01e1 Fix OOM issues during full sync when fork bgsave is used (#209) 2023-07-14 14:39:09 -04:00
John Sully
c0177198a8 Prevent a deadlock when running CLIENT KILL with large numbers of clients (#206) 2023-07-14 14:38:39 -04:00
Alex Cope
72b47eddc8 Merge pull request #204 from Snapchat/acope-evict-main
Force evictions when system available memory is low
2023-07-10 06:38:23 -07:00
Alex Cope
970e594dca nullptr 2023-07-07 11:55:49 -07:00
Alex Cope
c0c9230c73 fix compile error 2023-07-07 11:37:09 -07:00
Alex Cope
e35ce24985 use enum class 2023-07-07 11:07:33 -07:00
Alex Cope
1c8f1a0931 modify 2023-07-07 07:37:07 -07:00
Alex Cope
e6bc1c5585 ok 2023-07-06 15:22:52 -07:00
Alex Cope
184185a633 fix 2023-06-30 11:23:43 -07:00
Alex Cope
e80ff9ec70 fix 2023-06-30 11:23:00 -07:00
Alex Cope
01b7bc4cc1 fix 2023-06-30 11:21:55 -07:00
Alex Cope
5237d29dc1 fix 2023-06-30 11:21:18 -07:00
Alex Cope
3e528f2619 clean 2023-06-30 11:20:29 -07:00
Alex Cope
1d53d8b75a fix 2023-06-30 11:18:34 -07:00
Alex Cope
4b72775a5c meminfo 2023-06-30 11:05:12 -07:00
Alex Cope
b3492b5084 fix 2023-06-30 10:45:19 -07:00
Alex Cope
3e67b43a3b fix 2023-06-30 09:53:44 -07:00
Alex Cope
f9978c5961 fixes 2023-06-30 09:49:59 -07:00
Alex Cope
d346601067 llu 2023-06-30 09:39:49 -07:00
Alex Cope
c894255fea fix compiler errors 2023-06-29 14:58:08 -07:00
Alex Cope
88b24eb68a update sys free 2023-06-29 14:21:00 -07:00
Alex Cope
5b98a58c0e update 2023-06-29 13:41:34 -07:00
Alex Cope
4a9a9f9292 update 2023-06-29 13:23:16 -07:00
Alex Cope
147baeeed3 update 2023-06-29 13:22:47 -07:00
Alex Cope
e029c40fdb revert 2023-06-28 23:19:34 -07:00
Alex Cope
4ab128b86a fix conflict 2023-06-28 17:37:33 -07:00
Alex Cope
4e22068f2f with config 2023-06-28 17:31:40 -07:00
Alex Cope
6efe344587 port changes to 6.3 2023-06-27 14:18:14 -07:00
Malavan Sotheeswaran
c17b9f47ac Cherry picking keydb changes from keydbpro to main (#203)
* Audit Logging for KeyProxy and KeyDB (#144)

* Audit Log: log cert fingerprint (#151)

* Add more flash storage stats to info command.

* Remove unneeded libs when not building FLASH

* Fix mem leak

* Allow the reservation of localhost connections to ensure health checks always succeed even at maxclients (#181)

* Enable a force option for commands (#183)

* Fix missing newline and excessive logging in the CLI

* Support NO ONE for "CLUSTER REPLICATE" command.

Co-authored-by: Jacob Bohac <jbohac@snapchat.com>
Co-authored-by: Sergey Kolosov <skolosov@snapchat.com>
Co-authored-by: John Sully <jsully@snapchat.com>
Co-authored-by: John Sully <john@csquare.ca>
2023-06-27 16:23:20 -04:00
John Sully
f53e0337ef Port load shedding and availability-zone (#202) 2023-06-27 15:37:28 -04:00
Malavan Sotheeswaran
dcd623b079 Merge remote-tracking branch 'internal/main' 2023-06-21 16:31:55 -07:00
Karthick Ariyaratnam
533c1f70b5 Fix a bug where swapdb result was not recovered after keydb restarts in FLASH mode. (#668)
Co-authored-by: k00809413 <karthick.ariyaratnam1@huawei.com>
2023-06-21 16:29:31 -07:00
Malavan Sotheeswaran
a77548e44a Make inserts in flight a shared_ptr to avoid double free (#198)
* remove keyproxy test from machamp

* Update build.yaml

* make insertsinflight shared
2023-06-21 16:28:57 -07:00
Malavan Sotheeswaran
dde2c27a7e have FreeMemoryLazyFree increment dict refcount so it doesn't try to use a dict that has already been released (#199) 2023-06-21 16:28:57 -07:00
Malavan Sotheeswaran
b258322f9e Fix propagate in transaction crash (#200)
* ignore propagate_in_transaction in processCommand if command is async

* make propogate_in_transaction thread local

* forgot module.cpp

* move client_pause_in_transaction to thread local

* don't do async commands while in eval or exec

* don't do keys or scan async if in transaction
2023-06-21 16:28:57 -07:00
Malavan Sotheeswaran
9e310b1bea Make inserts in flight a shared_ptr to avoid double free (#198)
* remove keyproxy test from machamp

* Update build.yaml

* make insertsinflight shared
2023-06-21 16:47:21 -04:00
Malavan Sotheeswaran
2adf93ba0e have FreeMemoryLazyFree increment dict refcount so it doesn't try to use a dict that has already been released (#199) 2023-06-21 16:47:12 -04:00