Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kv: gRPC Unavailable errors are ambiguous
This error code is used for fail-fast errors (which can be retried unambiguously), but it is also used in other cases (such as a server draining) in which we cannot assume that the previous attempt was not completed. (It's unclear whether this assumption was once true and changed or if it's always been incorrect. The specific source of ambiguous Unavailable errors we're seeing is grpc/grpc-go#1147) This is expected to increase prevalence of AmbiguousResultErrors; this will be fixed in a follow-up change. Fixes cockroachdb#17491
- Loading branch information