mirror of https://github.com/hashicorp/boundary
fix(session): Use active transaction (#4592)
When closing orphaned connections and checking if a session is not active, the repository was opening a transaction, but then calling the original reader instead of using the reader/writer from the transaction. This would result in a transaction being opend, then a separate transaction being used to run the query, and finally the original transaction would commit without any statements being executed. Co-authored-by: Sorawis Nilparuk (Bo) <sorawis.nilparuk@hashicorp.com>pull/4693/head
parent
8f457c9c93
commit
7c14aeaf41
Loading…
Reference in new issue