Skip to content

Commit e0aa893

Browse files
author
wziww
committed
TRYAGAIN error should be retry
1 parent fa2e0da commit e0aa893

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)