Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow an UAcontext to have two database connections.
For some operations we want to use a private database connection as they are either long running or may interfere with each other. We now keep track of the normal shared database connection and a private database connection used for these kind of operations that can run over a dedicated database connection without leading to synchronization problems in the data. Things like BVFS, restore, prune, purge etc can all use this private database connection so they no longer block others and for restore also don't lead to race conditions. These connections we keep lingering until a close_db() call is done on the UA.
- Loading branch information
Showing
9 changed files
with
107 additions
and
106 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
Oops, something went wrong.