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

Support client-side HA with External HA Postgres setups #13782

Closed
MnrGreg opened this issue Dec 16, 2020 · 2 comments
Closed

Support client-side HA with External HA Postgres setups #13782

MnrGreg opened this issue Dec 16, 2020 · 2 comments
Assignees

Comments

@MnrGreg
Copy link
Contributor

MnrGreg commented Dec 16, 2020

The Harbor Core Postgres client library github.com/lib/pq does not support client-side HA and cannot transparently fail over across multiple hosts of a HA Postgres cluster.

Example of Postgres client-side HA connection string below:
postgres://host1:5001,host2:5001/postgres?target_session_attrs=read-write&sslmode=prefer

PR 714 to enable client-side HA has not been merged in 2 years and it seems the project is in maintenance mode: grafana/grafana#3676 (comment).

The Harbor project should consider adopting a maintained Postgres client library such as github.com/jackc/pgx

@ywk253100 ywk253100 added the needs/triage triage issue before assigning label Dec 18, 2020
@ywk253100 ywk253100 self-assigned this Dec 21, 2020
@ywk253100 ywk253100 added backlog and removed needs/triage triage issue before assigning labels Dec 21, 2020
@github-actions
Copy link

github-actions bot commented Jul 7, 2022

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

@github-actions github-actions bot added the Stale label Jul 7, 2022
@github-actions
Copy link

github-actions bot commented Aug 7, 2022

This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.

@github-actions github-actions bot closed this as completed Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants