New issue
Advanced search Search tips

Issue 859709 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Jul 13
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 795156
issue 811232



Sign in to add a comment

Poisoned go contextes

Project Member Reported by hinoka@chromium.org, Jul 2

Issue description

From two separate bugs, we've observed that a lot of the times, we see RPCs wrapped in retries fail with context deadline exceeded, even if it's retried 5 times.

It seems unlikely for RPCs that normally work to fail 5 times in a row.  It is possible that there is a bug in a library somewhere that is causing this behavior.

The symptoms are:

c := context.Context()
err := retry.Retry(.....func() error {
  nc := clock.WithDeadline(c, 15 seconds)
  return doRPC(nc)
})

retry.Retry will retry 5 times.  If it fails the first time, the second time will always fail.
 
Cc: tandrii@chromium.org
Status: WontFix (was: Assigned)
This ended up being more likely poisoned gRPC connections or pubsub clients.

Sign in to add a comment