From 0ea0c043695d5fd3d9453fcb74c2de12d3603123 Mon Sep 17 00:00:00 2001 From: Timo Tietavainen Date: Fri, 27 May 2022 20:38:13 +0300 Subject: [PATCH] Fix DBAAS write error In Redis 6 backup of DB key-values to RDB file was enabled by default. In Redis version 5 RDB file backup was disabled. In RIC we do not have discs attached to DBAAS pods, hence we shouldn't never try to write RDB backup file as an background operation in Redis server. So, as a fix disable 'save' and 'append-only-file' features in Redis by adding below configurations to redis.conf file: * save "" * appendonly "no" Issue-Id: RIC-698 Signed-off-by: Timo Tietavainen Change-Id: I258226ef00f10c00cccd471fd3e088779443fadb --- helm/dbaas/values.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helm/dbaas/values.yaml b/helm/dbaas/values.yaml index 31e6369..4267ebe 100644 --- a/helm/dbaas/values.yaml +++ b/helm/dbaas/values.yaml @@ -29,11 +29,17 @@ dbaas: masterGroupName: dbaasmaster sa_config: ## For /data/conf/redis.conf + # For now DBAAS has no discs, that's why disable AOF and RDB file snapshot saving + appendonly: "no" + save: "" protected-mode: "no" loadmodule: "/usr/local/libexec/redismodule/libredismodule.so" bind: 0.0.0.0 ha_config: ## For /data/conf/redis.conf + # For now DBAAS has no discs, that's why disable AOF and RDB file snapshot saving + appendonly: "no" + save: "" min-slaves-to-write: 1 min-slaves-max-lag: 5 maxmemory: "0" -- 2.16.6