Skip to content
Snippets Groups Projects
Unverified Commit 988ae665 authored by Jeff Evans's avatar Jeff Evans Committed by GitHub
Browse files

Invalidate cached pooled connection when DB details change (#17307)

Adding new cache to `metabase.driver.sql-jdbc.connection` that tracks the DB details hash values per DB id

Checking if the non-empty hash value of DB details changed in `db->pooled-connection-spec` in order to invalidate an existing pool

Adding test that redefines the log fn to assert that the pool is invalidated on hash change
parent 18212400
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment