Skip to content

Commit b2a1c6c

Browse files
authored
Merge pull request #1557 from wziww/master
CLUSTER_REDIR_UNSTABLE error should be retry
2 parents fa2e0da + e0aa893 commit b2a1c6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

error.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ func shouldRetry(err error, retryTimeout bool) bool {
5252
if strings.HasPrefix(s, "CLUSTERDOWN ") {
5353
return true
5454
}
55+
if strings.HasPrefix(s, "TRYAGAIN ") {
56+
return true
57+
}
5558

5659
return false
5760
}

0 commit comments

Comments
 (0)