Skip to content

Why connection not close when the response is "READONLY error" #790

Closed
@todywu

Description

@todywu

Issue
Firstly I have connected to master redis server and every write operation is OK, but after about one hour, the master and slave redis role interchanged. The write operation on connection with previous master will return "READONLY error" but the connection is not closed and the error is continue. Can we close the connection after receive an error from redis server?

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