Skip to content

Commit 9d8d97a

Browse files
authored
docs: add note about retrying UNAVAILABLE (#2774)
1 parent 776edd3 commit 9d8d97a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: codes/codes.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ const (
132132

133133
// Unavailable indicates the service is currently unavailable.
134134
// This is a most likely a transient condition and may be corrected
135-
// by retrying with a backoff.
135+
// by retrying with a backoff. Note that it is not always safe to retry
136+
// non-idempotent operations.
136137
//
137138
// See litmus test above for deciding between FailedPrecondition,
138139
// Aborted, and Unavailable.

0 commit comments

Comments
 (0)