27386 Commits

Author SHA1 Message Date
Alex Cope
0d2f98d6e1 fix compile error 2023-07-25 21:32:52 -07:00
Alex Cope
872c60566f use enum class 2023-07-25 21:32:52 -07:00
Alex Cope
b5a20a4f91 modify 2023-07-25 21:32:52 -07:00
Alex Cope
cf4735b61e ok 2023-07-25 21:32:52 -07:00
Alex Cope
b2ecf2c856 fix 2023-07-25 21:32:52 -07:00
Alex Cope
e80aba694c fix 2023-07-25 21:32:52 -07:00
Alex Cope
f774a17d8a fix 2023-07-25 21:32:52 -07:00
Alex Cope
329bf17e97 fix 2023-07-25 21:32:52 -07:00
Alex Cope
4da21dd328 clean 2023-07-25 21:32:52 -07:00
Alex Cope
3792ffb580 fix 2023-07-25 21:32:52 -07:00
Alex Cope
271c2cb92c meminfo 2023-07-25 21:32:52 -07:00
Alex Cope
4c0cf9e5cd fix 2023-07-25 21:32:52 -07:00
Alex Cope
e3cdc765a1 fix 2023-07-25 21:32:52 -07:00
Alex Cope
60d74262dc fixes 2023-07-25 21:32:52 -07:00
Alex Cope
65b7fafd29 llu 2023-07-25 21:32:52 -07:00
Alex Cope
ac7e6c0691 fix compiler errors 2023-07-25 21:32:52 -07:00
Alex Cope
87012bf98e update sys free 2023-07-25 21:32:52 -07:00
Alex Cope
1dc5ea40f3 update 2023-07-25 21:32:51 -07:00
Alex Cope
22d5ce41f3 update 2023-07-25 21:32:51 -07:00
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
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
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
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
Karthick Ariyaratnam
46660b9f18
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:26:14 -04:00
Malavan Sotheeswaran
45b41fbde6 Merge remote-tracking branch 'origin/main' 2023-06-15 15:06:45 -07:00
Malavan Sotheeswaran
62f3c37b87 Throw load error when replicaof config is before active-replica or multi-master configs (#666)
* load error when replicaof is set before multi-master or active-replica

* only an issue if enabled
2023-06-12 15:06:59 -07:00
Malavan Sotheeswaran
05430586d1
Throw load error when replicaof config is before active-replica or multi-master configs (#666)
* load error when replicaof is set before multi-master or active-replica

* only an issue if enabled
2023-06-01 13:38:34 -04:00
Malavan Sotheeswaran
163f903f3f remove keyproxy test from machamp
* Update build.yaml
2023-05-30 14:49:06 -04:00
Malavan Sotheeswaran
dc419a4e6e
keys after brpop causes crash due to timeout not being reset (#662) 2023-05-30 01:01:51 -04:00
Malavan Sotheeswaran
3336c4f43e
Flash slot to key (#653)
* add hash prefixing to rocksdb

* don't need to offset internal keys

* remove hashslot prefix when loading from rocksdb

* don't prefix internal keys

* implement slot to keys with rocksdb

* fix compile

* add hashslot enum to test storage provider

* add --flash option for tests

* forgot return statement in getKeysInSlot

* check for count mismatch

* forgot ;

* add assert to ensure correctness

* fix warnings

* add option to show logs of 1 server at a time

* add fixed length prefix extractor

* add machamp

* switch machamp to main branch

* add machamp script
2023-05-30 01:01:40 -04:00
Alexandre Chichmanian
16e8469316 Fix aws startup check preventing keydb from starting 2023-05-30 00:34:15 -04:00
Malavan Sotheeswaran
ef8b1bf373 add fPreSnapshot to evictionTimeProc 2023-05-25 00:03:39 -07:00
Attila Nagy
f629a76a2e
Make it compile on FreeBSD (#650) 2023-05-08 15:59:36 -04:00
Malavan Sotheeswaran
e4dacb467f add config to disable storage key cache 2023-04-25 11:15:57 -07:00