-
Notifications
You must be signed in to change notification settings - Fork 23.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redis.conf: Add data loss warning to "appendonly" #12506
redis.conf: Add data loss warning to "appendonly" #12506
Conversation
Co-authored-by: Oran Agra <oran@redislabs.com>
93b2619
to
8eaf81d
Compare
thanks. i'll keep it open for a day to wait for additional feedback. |
@@ -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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to mention that the reason we do this is because we need to trigger an AOFRW?
or mention doing a CONFIG SET appendonly yes will trigger an AOFRW
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can, if we can make it short.
alternatively, maybe the context above that line is enough and the users has a link for further reading just below it...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, in my opinion the "Please check https://redis.io/topics/persistence for more information." right below should be sufficient for people that want to know more.
Edit: Oops, private account instead of company account 🙂 I'm @threema-danilo.
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>
warning against editing the config file and restarting the server.
which will attempt to load an AOF file and disregard the RDB.
Fixes #12484