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

Add information about keepalives for managed Postgres #18850

Merged
merged 1 commit into from
Oct 12, 2021

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Oct 9, 2021

The managed Postgres DBs often kill the connection after
some time of inactivity, so if you are using Airflow with those
you need to configure keepalives.

This PR adds description on how to do it. See #18846


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

The managed Postgres DBs often kill the connection after
some time of inactivity, so if you are using Airflow with those
you need to configure keepalives.

This PR adds description on how to do it. See apache#18846
@potiuk potiuk force-pushed the add-redshift-keepalive-advice branch from 8a9cb67 to 43cfef7 Compare October 9, 2021 13:50
@potiuk
Copy link
Member Author

potiuk commented Oct 12, 2021

Shall we merge :) ?

@github-actions
Copy link

The PR is likely ready to be merged. No tests are needed as no important environment files, nor python files were modified by it. However, committers might decide that full test matrix is needed and add the 'full tests needed' label. Then you should rebase it to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label Oct 12, 2021
@potiuk potiuk merged commit f22c834 into apache:main Oct 12, 2021
@potiuk potiuk deleted the add-redshift-keepalive-advice branch October 12, 2021 20:54
@eladkal eladkal added this to the Airflow 2.2.1 milestone Oct 12, 2021
jedcunningham pushed a commit that referenced this pull request Oct 14, 2021
The managed Postgres DBs often kill the connection after
some time of inactivity, so if you are using Airflow with those
you need to configure keepalives.

This PR adds description on how to do it. See #18846

(cherry picked from commit f22c834)
@jedcunningham jedcunningham added the type:doc-only Changelog: Doc Only label Apr 7, 2022
@potiuk potiuk restored the add-redshift-keepalive-advice branch April 26, 2022 20:52
@potiuk potiuk deleted the add-redshift-keepalive-advice branch July 29, 2022 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:documentation okay to merge It's ok to merge this PR as it does not require more tests type:doc-only Changelog: Doc Only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants