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: Make FeatureNotSupported non-retryable in pg batch export #27211

Merged

Conversation

tomasfarias
Copy link
Contributor

Problem

FeatureNotSupported exception is retryable, when it shouldn't be. We have seen this fire off when we can't set a transaction to read-write, likely because the database is read-only.

Changes

  • Make FeatureNotSupported non-retryable.

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

Does this work well for both Cloud and self-hosted?

How did you test this code?

@tomasfarias tomasfarias requested a review from rossgray January 2, 2025 09:07
@tomasfarias tomasfarias force-pushed the chore/add-feature-not-supported-as-non-retryable branch from 05c6be1 to 4d1c80c Compare January 2, 2025 10:10
@tomasfarias
Copy link
Contributor Author

Had to rebase as one test unrelated to this PR kept failing. Hoping pulling master will clear that up and we can ship this.

@tomasfarias
Copy link
Contributor Author

tomasfarias commented Jan 2, 2025

Ah, nevermind, seems like failing check is not required. Huh. Well, the failing check is still failing on the latest commits on master, so I'll just ship this as it's not the cause of the failure.

@tomasfarias tomasfarias enabled auto-merge (squash) January 2, 2025 10:17
@tomasfarias tomasfarias merged commit b74f243 into master Jan 2, 2025
91 of 92 checks passed
@tomasfarias tomasfarias deleted the chore/add-feature-not-supported-as-non-retryable branch January 2, 2025 10:47
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.

2 participants