Fix DBAAS write error 47/8447/1
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Fri, 27 May 2022 17:38:13 +0000 (20:38 +0300)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Fri, 27 May 2022 17:38:13 +0000 (20:38 +0300)
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 <timo.tietavainen@nokia.com>
Change-Id: I258226ef00f10c00cccd471fd3e088779443fadb

helm/dbaas/values.yaml

index 31e6369..4267ebe 100644 (file)
@@ -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"