Skip to content

Commit

Permalink
make it shouldn't retry
Browse files Browse the repository at this point in the history
  • Loading branch information
RonninSaga committed May 21, 2024
1 parent 2ce2eab commit 1ffe0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func shouldRetry(err error, retryTimeout bool) bool {
return true
}
if IsReadOnlyError(err) {
return true
return false
}
if strings.HasPrefix(s, "CLUSTERDOWN ") {
return true
Expand Down

0 comments on commit 1ffe0fa

Please sign in to comment.