Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issues #2959 and #2960 #2961

Merged
merged 2 commits into from
Apr 12, 2024
Merged

Fix for issues #2959 and #2960 #2961

merged 2 commits into from
Apr 12, 2024

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
10 checks passed
@monkey92t
Copy link
Collaborator

tks!

@@ -1316,6 +1317,9 @@ func (c *ClusterClient) processPipelineNodeConn(
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()) {

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