Skip to content

Commit 346434d

Browse files
committedOct 25, 2023
make it shouldn't retry
1 parent a5d952c commit 346434d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎error.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func shouldRetry(err error, retryTimeout bool) bool {
4848
return true
4949
}
5050
if IsReadOnlyError(err) {
51-
return true
51+
return false
5252
}
5353
if strings.HasPrefix(s, "CLUSTERDOWN ") {
5454
return true

0 commit comments

Comments
 (0)
Please sign in to comment.