Repository navigation
Conversation
when both rdb and aof is enabled, redis can not load data from rdb file. we want to backup with rdb because it is compressed. when we want to recover from backup, we copy the rdb file, make sure aof file is not exists, but redis does not load the rdb file.
Contributor
|
In general if you have AOF enabled you'd prefer to load it and not the RDB. I also think that once we have multi part AOF with an RDB preamble you'll be able to just delete all the AOF files and put your backup as the first AOF part which will achieve the same thing. (#6584) Given all that I'm marking this to be closed. |
Contributor
|
also see #12762 |
sundb
pushed a commit
to sundb/redis
that referenced
this pull request
Oct 31, 2025
… object (redis#1566) Currently, only int and shared.redacted call makeObjectShared for shared objects. Although this breaks the blame log, there is a few points i would like to mention: 1. For threading, our fork for some reasons calling decrRefCount in the threads for shared.command. Although this is not used in OSS code now, it may be a issue in the future. 2. For cleanup, all shared objects's refcount should be the same. 3. For CoW, probably can reduce CoW although it is very minor. We decided in redis#2189 to keep `extended-redis-compatibility` for now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
when Both rdb and aof is enabled, redis can not load data from rdb file.
we do backup with rdb because it is compressed.
when I want to recover from backup, I just copy the rdb file, make sure aof file is not exists,
but redis does not load the rdb file.