From a6eff389b50ace5ae7671003dcc8baf2afe01fb0 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Tue, 22 Aug 2023 17:15:47 +0200 Subject: [PATCH] redis.conf: Add data loss warning to "appendonly" (#12506) warning against editing the config file and restarting the server. which will attempt to load an AOF file and disregard the RDB. Co-authored-by: Oran Agra --- redis.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/redis.conf b/redis.conf index 97f077b0d..e2c80eb64 100644 --- a/redis.conf +++ b/redis.conf @@ -1382,6 +1382,10 @@ disable-thp yes # If the AOF is enabled on startup Redis will load the AOF, that is the file # with the better durability guarantees. # +# Note that changing this value in a config file of an existing database and +# restarting the server can lead to data loss. A conversion needs to be done +# by setting it via CONFIG command on a live server first. +# # Please check https://redis.io/topics/persistence for more information. appendonly no