You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When connecting Aries Askar (tested and reproducible on v0.3.2) to a Postgres Database cluster via a connection pooler such as PGPool-II or AWS RDS Proxy, bootstrapping/provisioning the Database fails.
We have replicated this issue in both PGPool-II and AWS RDS Proxy.
When connecting Aries Askar (tested and reproducible on
v0.3.2
) to a Postgres Database cluster via a connection pooler such as PGPool-II or AWS RDS Proxy, bootstrapping/provisioning the Database fails.We have replicated this issue in both PGPool-II and AWS RDS Proxy.
For testing and reproducing, I've been leveraging Kubernetes in Docker (Kind).
How to reproduce:
Step 1: Bring up a Postgres Cluster.
Install
bitnami/postgresql-ha
:Validate expected DBs and Roles are present:
Step 2: Port-forward to Postgres (not PGPool)
Step 3: Run Askar Storage
postgres::db_import
test to validate everything is working$ POSTGRES_URL=postgres://askar:askar@localhost:5432/askar cargo test --features pg_test -- postgres::db_import
Validate expected
askar
Database now existsStep 4: Delete the
askar
DatabaseStep 5: Port-forward to PGPool
Step 6: Re-run the same
postgres::db_import
test and see failure:$ POSTGRES_URL=postgres://askar:askar@localhost:5432/askar cargo test --features pg_test -- postgres::db_import
Ideal outcome
Ideally, Askar should be able to provision the DB via the PGPool/Proxy service.
Provision DB via PGPool/Proxy service:
Validate DB exists
The text was updated successfully, but these errors were encountered: