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

CDK: make postgres temp_file_limit error a transient error #38667

Closed
wants to merge 3 commits into from

Conversation

theyueli
Copy link
Contributor

Fixes #27090

A postgres throws a temp_file_limit error is translated to a system error for airbyte. I believe this is true for both postgres source and destination connectors.

This change makes this error a transient error so that it won't trigger sentry.

@theyueli theyueli requested review from a team as code owners May 26, 2024 10:25
Copy link

vercel bot commented May 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 27, 2024 4:54am

@CLAassistant
Copy link

CLAassistant commented May 26, 2024

CLA assistant check
All committers have signed the CLA.

Comment on lines 152 to 158
e.message!!.lowercase().contains("An I/O error occurred while sending to the backend")
(e.message!!.lowercase().contains("An I/O error occurred while sending to the backend") ||
e.message!!.lowercase().contains("temporary file size exceeds temp_file_limit"))
Copy link
Contributor

@evantahler evantahler May 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great to start building up a constant or array of these matchers somewhere

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great to start building up a constant or array of these matchers somewhere

Agreed.

@theyueli
Copy link
Contributor Author

closing this to send PR from my branch of upstream repo instead of using my own fork. (to avoid the community-ci failure issue)

@theyueli theyueli closed this May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

source-postgres : Throw a configuration error for "temporary file size exceeds temp_file_limit" error
4 participants