Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backfila times out and retries batches after 1 minute #137

Open
mightyguava opened this issue Sep 16, 2020 · 0 comments
Open

Backfila times out and retries batches after 1 minute #137

mightyguava opened this issue Sep 16, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@mightyguava
Copy link
Contributor

Conversation here: https://square.slack.com/archives/CET1PJ8NP/p1600206743294600?thread_ts=1600192471.251500&cid=CET1PJ8NP

Backfila is unexpectedly retrying immediately on connection failure rather than respecting the backoff schedule. We are also currently seeing a repeatable connection failure after 1 minute

okhttp3.internal.http2.StreamResetException: stream was reset: CANCEL

While backfill logic is largely idempotent, for large batches, a parallel batch on the same ID range can adversely performance since there'll be a nice bunch of extra lock waits.

We need to dig into what in Backfila's stack that's doing the retry on connection reset. Separately, why the reset is happening at all, though that's probably outside of backfila.

@shellderp shellderp added the bug Something isn't working label Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants