docs: add note about retrying UNAVAILABLE

This commit is contained in:
Jean de Klerk 2019-04-15 12:38:42 -06:00 committed by Eric Anderson
parent 07f9efe95e
commit b363f80764
1 changed files with 2 additions and 1 deletions

View File

@ -182,7 +182,8 @@ public final class Status {
/**
* 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.