aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-07-23 17:01:00 -0700
committerGravatar GitHub <noreply@github.com>2018-07-23 17:01:00 -0700
commit4ec08f723519123404f62089cfa1b02da1be4d89 (patch)
tree0d4b69358c7a87e7c0c1b3262caf869067973385 /doc
parent25d2018029020a15adc237e3e5ff143b19693511 (diff)
Add note on retrying RPCs
Also add keepalive to list.
Diffstat (limited to 'doc')
-rw-r--r--doc/statuscodes.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/statuscodes.md b/doc/statuscodes.md
index f2df9e00de..9fbd58b132 100644
--- a/doc/statuscodes.md
+++ b/doc/statuscodes.md
@@ -38,6 +38,7 @@ situations in which they are generated.
| Error parsing response proto | INTERNAL | Client|
| Error parsing request proto | INTERNAL | Server|
| Sent or received message was larger than configured limit | RESOURCE_EXHAUSTED | Both |
+| Keepalive watchdog times out | INTERNAL | Both |
The following status codes are never generated by the library:
- INVALID_ARGUMENT
@@ -47,3 +48,5 @@ The following status codes are never generated by the library:
- ABORTED
- OUT_OF_RANGE
- DATA_LOSS
+
+The decision to retry RPCs at the application level depends on the application and the type of error. There is no single guidance that will work for all.