Skip to content

Not automatically updated if the primary changes with Redis Sentinel since v2.8.58 #2951

@Broderick890

Description

@Broderick890

redis version :redis:6.2.7-alpine

Steps to reproduce the issue:

in the sentinel server run below:

SENTINEL failover mymaster

in the application run below:
connectionMultiplexer.GetDatabase().HashSet("test", "test", "test");

throw exception below:

No connection (requires writable - not eligible for replica) is active/available to service this operation: HSET test; SocketClosed (ReadEndOfStream, last-recv: 0) on 192.168.1.2:6379/Subscription, Idle/MarkProcessed, last: SUBSCRIBE, origin: ReadFromPipe, outstanding: 0, last-read: 0s ago, last-write: 32s ago, keep-alive: 60s, state: ConnectedEstablished, mgr: 7 of 10 available, in: 0, in-pipe: 0, out-pipe: 0, last-heartbeat: 0s ago, last-mbeat: 0s ago, global: 0s ago, v: 2.9.17.8862, mc: 1/1/0, mgr: 9 of 10 available, clientName: pc(SE.Redis-v2.9.17.8862), IOCP: (Busy=0,Free=128,Min=16,Max=128), WORKER: (Busy=3,Free=125,Min=16,Max=128), POOL: (Threads=19,QueuedItems=0,CompletedItems=3511,Timers=19), v: 2.9.17.8862

No problems were encountered previous v2.8.58

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