From 09a8b049e298bac75ddf899bad98d5290fe743ce Mon Sep 17 00:00:00 2001 From: malavan Date: Wed, 18 Aug 2021 20:13:53 +0000 Subject: [PATCH 01/10] patch rocksdb to fix archlinux build Former-commit-id: b3c6e4f6353935545dca73cbc103fac9f3da7c42 --- deps/rocksdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/rocksdb b/deps/rocksdb index e3169e3ea..7dd041ce8 160000 --- a/deps/rocksdb +++ b/deps/rocksdb @@ -1 +1 @@ -Subproject commit e3169e3ea8762d2f34880742106858a23c8dc8b7 +Subproject commit 7dd041ce89138b1506018beb07cd6dd7050a9ed7 From 5ae76398716ae1a0c500542d06bbdde44875b198 Mon Sep 17 00:00:00 2001 From: malavan Date: Wed, 18 Aug 2021 21:46:16 +0000 Subject: [PATCH 02/10] use our own clone of rocksdb Former-commit-id: 0aeceb2a8c487eea43d47497647d4e38a3478ca7 --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 21accf31b..10f6aca73 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "deps/rocksdb"] path = deps/rocksdb - url = https://github.com/facebook/rocksdb.git + url = https://gitlab.eqalpha.com/keydb-dev/rocksdb.git [submodule "deps/depot_tools"] path = deps/depot_tools url = https://chromium.googlesource.com/chromium/tools/depot_tools.git From aa7415c5e8dc1fdae7be98e11ee003f4b1606441 Mon Sep 17 00:00:00 2001 From: malavan Date: Wed, 18 Aug 2021 21:53:55 +0000 Subject: [PATCH 03/10] use our own clone of rocksdb Former-commit-id: 1de8a88679faa94d14875655305e6102289556a0 --- deps/rocksdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/rocksdb b/deps/rocksdb index 7dd041ce8..887e6bf34 160000 --- a/deps/rocksdb +++ b/deps/rocksdb @@ -1 +1 @@ -Subproject commit 7dd041ce89138b1506018beb07cd6dd7050a9ed7 +Subproject commit 887e6bf34527403164a9c4eb1d62dfb668291734 From 45d9171e236d60fabe46be34741f61a85911834b Mon Sep 17 00:00:00 2001 From: Malavan Sotheeswaran Date: Wed, 18 Aug 2021 22:47:38 +0000 Subject: [PATCH 04/10] Revert "Merge branch 'patch_rocks_db' into 'keydbpro'" This reverts merge request !35 Former-commit-id: 8ee1c251de5687fdcf8af740766d2968163bc8e9 --- .gitmodules | 2 +- deps/rocksdb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index 10f6aca73..21accf31b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "deps/rocksdb"] path = deps/rocksdb - url = https://gitlab.eqalpha.com/keydb-dev/rocksdb.git + url = https://github.com/facebook/rocksdb.git [submodule "deps/depot_tools"] path = deps/depot_tools url = https://chromium.googlesource.com/chromium/tools/depot_tools.git diff --git a/deps/rocksdb b/deps/rocksdb index 887e6bf34..e3169e3ea 160000 --- a/deps/rocksdb +++ b/deps/rocksdb @@ -1 +1 @@ -Subproject commit 887e6bf34527403164a9c4eb1d62dfb668291734 +Subproject commit e3169e3ea8762d2f34880742106858a23c8dc8b7 From 5a3b10b1306e04127f62162ee152c501e834123d Mon Sep 17 00:00:00 2001 From: malavan Date: Thu, 19 Aug 2021 17:22:09 +0000 Subject: [PATCH 05/10] public copy of rocksdb Former-commit-id: 50bbadcab6d2911fb9cbe15aef03c9762aa91280 --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 10f6aca73..4c6d6c2fc 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "deps/rocksdb"] path = deps/rocksdb - url = https://gitlab.eqalpha.com/keydb-dev/rocksdb.git + url = https://gitlab.eqalpha.com/submodules/rocksdb.git [submodule "deps/depot_tools"] path = deps/depot_tools url = https://chromium.googlesource.com/chromium/tools/depot_tools.git From 30b6b5c9038d11ba125c0333eb38021a10490e3e Mon Sep 17 00:00:00 2001 From: malavan Date: Thu, 19 Aug 2021 17:42:52 +0000 Subject: [PATCH 06/10] add branch for git submodule Former-commit-id: b4471308f1cf99b0a5a4c8c8da8ccf9546123e3f --- .gitmodules | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitmodules b/.gitmodules index 4c6d6c2fc..26782f10f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,7 @@ [submodule "deps/rocksdb"] path = deps/rocksdb url = https://gitlab.eqalpha.com/submodules/rocksdb.git + branch = keydb_v6 [submodule "deps/depot_tools"] path = deps/depot_tools url = https://chromium.googlesource.com/chromium/tools/depot_tools.git From 5bbb485a26a7402f05994ae5484851819974f130 Mon Sep 17 00:00:00 2001 From: malavan Date: Thu, 19 Aug 2021 17:45:37 +0000 Subject: [PATCH 07/10] use --init instead of git submodule init Former-commit-id: e5582ddf313a6bdd2ae0cb68da980954caf83e1b --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8742a73b2..db776c60f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ build: - docker stage: build script: - - git submodule init && git submodule update + - git submodule update --remote --init - make distclean - make -j artifacts: @@ -113,7 +113,7 @@ endurance-test: - docker stage: test script: - - git submodule init && git submodule update + - git submodule update --remote --init - make distclean - make -j - ./runtest --config server-threads 3 --loop --stop @@ -125,7 +125,7 @@ coverage-test: - docker stage: test script: - - git submodule init && git submodule update + - git submodule update --remote --init - make distclean - make gcov -j - make install From 07bce1e32ec5b2a6c80a63bd186d16254504ca74 Mon Sep 17 00:00:00 2001 From: malavan Date: Thu, 19 Aug 2021 17:47:23 +0000 Subject: [PATCH 08/10] use --init instead of git submodule init Former-commit-id: 967866c56c9d4590d72c63169d0e3c32c21b24e0 --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db776c60f..4f704245e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ build: - docker stage: build script: - - git submodule update --remote --init + - git submodule update --init --remote - make distclean - make -j artifacts: @@ -113,7 +113,7 @@ endurance-test: - docker stage: test script: - - git submodule update --remote --init + - git submodule update --init --remote - make distclean - make -j - ./runtest --config server-threads 3 --loop --stop @@ -125,7 +125,7 @@ coverage-test: - docker stage: test script: - - git submodule update --remote --init + - git submodule update --init --remote - make distclean - make gcov -j - make install From de72f4823846e6138e84b6de58ac1f87826e40e9 Mon Sep 17 00:00:00 2001 From: malavan Date: Thu, 19 Aug 2021 18:24:01 +0000 Subject: [PATCH 09/10] switch to new patch of rocksdb that fixes archlinux build Former-commit-id: e2e5b5320e5c1b89ec2a3f946826097b819f6593 --- deps/rocksdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/rocksdb b/deps/rocksdb index e3169e3ea..887e6bf34 160000 --- a/deps/rocksdb +++ b/deps/rocksdb @@ -1 +1 @@ -Subproject commit e3169e3ea8762d2f34880742106858a23c8dc8b7 +Subproject commit 887e6bf34527403164a9c4eb1d62dfb668291734 From a50f73fa2c31a8ed20c9c9872743422f9f8094e3 Mon Sep 17 00:00:00 2001 From: benschermel Date: Sun, 22 Aug 2021 22:28:18 +0000 Subject: [PATCH 10/10] update pkg conf file Former-commit-id: 2a2ae61f07ecea8a178f4bc478bb7786d5be27d9 --- pkg/deb/conf/keydb.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/deb/conf/keydb.conf b/pkg/deb/conf/keydb.conf index 20df32e42..8bf03a0c5 100644 --- a/pkg/deb/conf/keydb.conf +++ b/pkg/deb/conf/keydb.conf @@ -261,7 +261,7 @@ tcp-keepalive 300 # By default KeyDB does not run as a daemon. Use 'yes' if you need it. # Note that KeyDB will write a pid file in /var/run/keydb.pid when daemonized. -daemonize no +daemonize yes # If you run KeyDB from upstart or systemd, KeyDB can interact with your # supervision tree. Options: @@ -284,7 +284,7 @@ daemonize no # # Creating a pid file is best effort: if KeyDB is not able to create it # nothing bad happens, the server will start and run normally. -pidfile /var/run/keydb_6379.pid +pidfile /var/run/keydb/keydb-server.pid # Specify the server verbosity level. # This can be one of: