Skip to content

Conversation

@vmihailenco
Copy link
Collaborator

Fixes #1031

cluster.go Outdated
err = cn.WithReader(c.opt.ReadTimeout, func(rd *proto.Reader) error {
return c.pipelineReadCmds(node, rd, cmds, failedCmds)
})
if err == nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

If you return err anyway why don't you return it as it is?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

github.com/onsi/gomega v1.5.0
)

go 1.13
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't really need that info as nothing changed here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is what go mod does automatically - not going to fight it on this matter

@vmihailenco vmihailenco force-pushed the fix/pipeline-make-node-as-loading branch from 1c2b596 to 6238b8d Compare May 30, 2019 14:17
@vmihailenco vmihailenco merged commit 458982a into master May 30, 2019
@vmihailenco vmihailenco deleted the fix/pipeline-make-node-as-loading branch May 30, 2019 14:39
vmihailenco added a commit that referenced this pull request Mar 11, 2020
Mark node as loading in Cluster pipeline read
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.

Redis LOADING error should cause different node to be queried during pipeline reads in redis-cluster

3 participants