Skip to content

Commit 60081bd

Browse files
authored
Merge pull request #2148 from signalfx/cluster-pipeline-err
fix: additional node failures in clustered pipelined reads
2 parents f99baf4 + 03376a5 commit 60081bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ func (c *ClusterClient) pipelineReadCmds(
12101210
continue
12111211
}
12121212

1213-
if c.opt.ReadOnly && isLoadingError(err) {
1213+
if c.opt.ReadOnly && (isLoadingError(err) || !isRedisError(err)) {
12141214
node.MarkAsFailing()
12151215
return err
12161216
}

0 commit comments

Comments
 (0)