-
Notifications
You must be signed in to change notification settings - Fork 807
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sql): use a connection pool named "read" for some read operation…
…s in SqlExecutionRepository (#4803) * test(sql): demonstrate that SqlConfiguration makes different types of DataSource bean available depending on configuration * feat(sql): use a connection pool named "read" for read operations in SqlExecutionRepository if configured to do so. WIP: so far this is only configuration, nothing actually uses the read pool * refactor(sql): reorganize correlation id cleanup logic in SqlExecutionRepository to pave the way to use the read pool for selecting by correlation id * perf(sql): no need for a transaction to delete individual rows - correlation ids for completed pipelines/orchestrations - a stage * perf(sql): use the read pool for read-only database queries in SqlExecutionRepository * refactor(sql): remove forUpdate argument from SqlExecutionRepository.selectExecution since it's not used. --------- Co-authored-by: David Byron <[email protected]>
- Loading branch information
1 parent
d739295
commit 386da27
Showing
10 changed files
with
297 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.