Skip to content

Commit

Permalink
redis.conf: Add data loss warning to "appendonly" (#12506)
Browse files Browse the repository at this point in the history
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 <oran@redislabs.com>
  • Loading branch information
threema-danilo and oranagra committed Aug 22, 2023
1 parent 1407ac1 commit a6eff38
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions redis.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6eff38

Please sign in to comment.