Skip to content

Commit

Permalink
redis.conf: Add data loss warning to "appendonly" (redis#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
2 people authored and enjoy-binbin committed Sep 8, 2023
1 parent d01ab37 commit 6548001
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 6548001

Please sign in to comment.