1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-17 20:17:02 +03:00

Merge pull request #2148 from signalfx/cluster-pipeline-err

fix: additional node failures in clustered pipelined reads
This commit is contained in:
Vladimir Mihailenco 2022-07-28 13:27:22 +03:00 committed by GitHub
commit 60081bdd55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1210,7 +1210,7 @@ func (c *ClusterClient) pipelineReadCmds(
continue
}
if c.opt.ReadOnly && isLoadingError(err) {
if c.opt.ReadOnly && (isLoadingError(err) || !isRedisError(err)) {
node.MarkAsFailing()
return err
}