Skip to content

redis.conf: Add data loss warning to "appendonly" - #12506

Merged
oranagra merged 1 commit into
redis:unstablefrom
threema-danilo:aof-conversion-warning
Aug 22, 2023
Merged

oranagra merged 1 commit into
redis:unstablefrom
threema-danilo:aof-conversion-warning

Conversation

@threema-danilo

@threema-danilo threema-danilo commented Aug 21, 2023 •

Copy link
Copy Markdown
Contributor

warning against editing the config file and restarting the server.
which will attempt to load an AOF file and disregard the RDB.

Fixes #12484

Comment thread redis.conf Resolved
@threema-danilo
threema-danilo force-pushed the aof-conversion-warning branch from 93b2619 to 8eaf81d Compare August 21, 2023 14:19
@oranagra

Copy link
Copy Markdown
Member

thanks. i'll keep it open for a day to wait for additional feedback.

Comment thread redis.conf
#
# 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.

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Member

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...

@dbrgn dbrgn Aug 22, 2023 •

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[BUG] Complete data loss when enabling AOF through config

4 participants