Skip to content

Conversation

@singular-seal
Copy link
Contributor

Fix for issues #2959 and #2960

@singular-seal
Copy link
Contributor Author

@vmihailenco hi, could you help to take a look? Thanks a lot.

@singular-seal
Copy link
Contributor Author

@vmihailenco @monkey92t hi Sir, could you kindly help to take a look? Our project is blocked by this issue and don't want to maintain a private branch. Thanks a lot

@monkey92t monkey92t merged commit f5496d1 into redis:master Apr 12, 2024
@monkey92t
Copy link
Collaborator

tks!

if err := cn.WithWriter(c.context(ctx), c.opt.WriteTimeout, func(wr *proto.Writer) error {
return writeCmds(wr, cmds)
}); err != nil {
if isBadConn(err, false, node.Client.getAddr()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct? isBadConn() returning true for context cancelled errors as well.

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.

3 participants