Redis downgrade migration #65
Unanswered
leonchen83
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Redis Downgrade Migration
1. Source of the Issue
Related issues and discussions in Redis:
2. Common Solutions for Downgrade Migration
Solution 1: Conversion to AOF Migration, Pseudocode as Follows
Advantages of this solution:
Disadvantages of this solution:
Solution 2: Conversion to Lower Version DUMP Format, Pseudocode as Follows
Advantages of this solution:
Disadvantages of this solution:
Note: Both Redis-replicator and Redis-rdb-CLI adopt Solution 2 for migration.
3. How Redis-replicator Performs Downgrade Migration
Code Example:
Explanation:
4. How Redis-rdb-CLI Performs Downgrade Migration
5. Known Issues and Limitations
Cannot downgrade migrate data types not supported by lower versions of Redis. For example, cannot migrate MODULE format to versions below Redis 4.0 or STREAM format to versions below Redis 5.0. No other limitations known.
Beta Was this translation helpful? Give feedback.
All reactions