Open
Conversation
Document how Valkey maintains backward compatibility with Redis OSS: 1. Version compatibility: forked from Redis 7.2.4, compatible with all Redis OSS versions up to 7.2.x, not compatible with Redis CE 7.4+ 2. INFO fields: redis_version is fixed at 7.2.4 for client compatibility, server_version reports the actual Valkey version 3. Lua scripting: both redis.call() and server.call() namespaces work 4. Module API: both RedisModule_* and ValkeyModule_* prefixes are supported All information verified against the Valkey source code (version.h, redismodule.h, valkeymodule.h). Fixes valkey-io#14
- Fix: the INFO field is valkey_version, not server_version (renamed in valkey-io/valkey#232) - Add Lua globals: SERVER_NAME, SERVER_VERSION, SERVER_VERSION_NUM (added in valkey-io/valkey#47)
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.
Add a new
topics/redis-compatibility.mdpage covering:redis_versionfixed at 7.2.4 for client compat,server_versionfor actual Valkey versionredis.call()andserver.call()namespaces workRedisModule_*andValkeyModule_*prefixes supportedredis.conffiles work as-isredis-cliworks with Valkey and vice versaAll information verified against the Valkey source code.
Fixes #14