Skip to content

interpreting server_mode field (to support Valkey 8+ cluster)#3050

Open
wipiano wants to merge 1 commit intoStackExchange:mainfrom
imobile:experimental-valkey-cluster
Open

interpreting server_mode field (to support Valkey 8+ cluster)#3050
wipiano wants to merge 1 commit intoStackExchange:mainfrom
imobile:experimental-valkey-cluster

Conversation

@wipiano
Copy link
Copy Markdown

@wipiano wipiano commented Apr 3, 2026

Since Valkey 8, the redis_mode field in the INFO server response has been renamed to server_mode.

This causes StackExchange.Redis to misidentify a Valkey Cluster as running in standalone mode, resulting in incorrect behavior.

As a current workaround, setting extended-redis-compatibility yes on the Valkey server side preserves the redis_mode field in the INFO server response. However, this configuration option may be removed in a future version.

This change adds support for interpreting the server_mode field in the same way as the redis_mode field.

@wipiano wipiano changed the title support server_mode field (to support Valkey 8+ cluster) interpreting server_mode field (to support Valkey 8+ cluster) Apr 3, 2026
@wipiano wipiano force-pushed the experimental-valkey-cluster branch from aa15182 to 241da1a Compare April 3, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant