Skip to content

Commit

Permalink
docs: add note about retrying UNAVAILABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbza committed Apr 19, 2019
1 parent 07f9efe commit f5d2082
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/main/java/io/grpc/Status.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ public enum Code {
/**
* The service is currently unavailable. This is a most likely a
* transient condition and may be corrected by retrying with
* a backoff.
* a backoff. Note that it is not always safe to retry
* non-idempotent operations.
*
* <p>See litmus test above for deciding between FAILED_PRECONDITION,
* ABORTED, and UNAVAILABLE.
Expand Down

0 comments on commit f5d2082

Please sign in to comment.