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 ability to configure Postgres keepalive settings #1393

Merged
merged 1 commit into from
May 15, 2023

Conversation

TheRealHaoLiu
Copy link
Member

@TheRealHaoLiu TheRealHaoLiu commented May 4, 2023

SUMMARY

During our test for DB failover we notice that dispatcher will hang and keep polling a idle (and dead) database connection after database failover happens, this PR will use TCP keepalive to kill the dead TCP connection and allow dispatcher to reconnect and able to handle DB failover

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
ADDITIONAL INFORMATION

@TheRealHaoLiu TheRealHaoLiu force-pushed the feature_keepalive branch 3 times, most recently from 673cf2e to 99bfff2 Compare May 5, 2023 15:03
@TheRealHaoLiu TheRealHaoLiu force-pushed the feature_keepalive branch 2 times, most recently from f673cba to 52933da Compare May 8, 2023 18:44
Co-Authored-By: Gabriel Muniz <gmuniz@redhat.com>
Co-Authored-By: Rick Elrod <rick@elrod.me>
@shanemcd shanemcd changed the title Add ability to configure postgres keepalives settings Add ability to configure Postgres keepalive settings May 11, 2023
@TheRealHaoLiu TheRealHaoLiu merged commit 94dc52d into devel May 15, 2023
@TheRealHaoLiu TheRealHaoLiu deleted the feature_keepalive branch May 15, 2023 16:26
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.

4 participants