Skip to content

Invalid Server Selection after Redis Cluster Failover #2778

@leachdaniel-clark

Description

@leachdaniel-clark

During maintenance we cycle our Redis Servers and failovers happen and cluster is becomes healthy again. However, even hours after doing an experiment where we rebooted all the servers, the ConnectionMultiplexer continues have issues with server section with a stack trace related to this. The only way to resolve the problem is to restart the service or recreate multiplexers. We've tried the using the latest client version 2.8.0 with HeartbeatConsistencyChecks enabled.

We are not using an CommandFlags to override server selection and are using the method overload:

KeyDeleteAsync(RedisKey[] keys, CommandFlags flags = CommandFlags.None);

Since Redis Cluster is not actually throwing this error the bug must be an issue with a mismatch in local state of this client triggered by server maintenance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions