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

chore(batch-exports): Do not retry on RefreshError and NotFound #18107

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

tomasfarias
Copy link
Contributor

@tomasfarias tomasfarias commented Oct 19, 2023

Problem

Another couple of errors I've seen pop-up. Apparently:

  1. RefreshError: Some error with the Google cloud token, not much we can do on our front.
  2. NotFound: The dataset or the project given by the ID provided doesn't exist.

Changes

Do not retry on "RefreshError" nor on "NotFound".

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

NotFound should also be not retried as it means a dataset or project doesn't exist (maybe a typo)
@tomasfarias tomasfarias changed the title chore(batch-exports): Do not retry on RefreshError chore(batch-exports): Do not retry on RefreshError and NotFound Oct 19, 2023
@tomasfarias tomasfarias merged commit 930db7f into master Oct 20, 2023
71 checks passed
@tomasfarias tomasfarias deleted the chore/do-not-retry-on-refresh-error-bigquery branch October 20, 2023 09:21
Justicea83 pushed a commit to Justicea83/posthog that referenced this pull request Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant