27547 Commits

Author SHA1 Message Date
Alex Cope
c9d63c50c0 update 2023-07-25 21:32:51 -07:00
Alex Cope
39e3141a0a revert 2023-07-25 21:32:51 -07:00
Alex Cope
1f2c179124 with config 2023-07-25 21:32:24 -07:00
Alex Cope
4c3d9341fd port changes to 6.3 2023-07-25 21:31:42 -07:00
Rolf Ahrenberg
821b39acac
Use tini in Alpine-based Docker image (#682) 2023-07-26 00:20:41 -04: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
Karthick Ariyaratnam (A)
0d01b810c3 Fix a fug where repl-backlog-size config was modifed in keydb.conf with the runtime value during config rewrite. 2023-07-14 13:12:16 -04:00
Karthick Ariyaratnam
501ae473e1
Fix a bug where a temp rdb file with zero bytes is generated in flash mode. (#696)
Co-authored-by: Karthick Ariyaratnam (A) <k00809413@china.huawei.com>
2023-07-13 13:26:00 -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
Ikko Eltociear Ashimine
6f77a82480
Fix typo in module.cpp (#686)
comparision -> comparison
2023-07-05 18:38:39 -04:00
Philipp Trulson
8e052f728c
Enable KeyDB FLASH in Docker images (#687) 2023-07-05 18:38:14 -04:00
Pim van den Broek
26285d3dd5
Fix redis-cli symlink (#689) 2023-07-05 18:37:35 -04: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
Malavan Sotheeswaran
8242ba5b47 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:40:35 -04:00