Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retry transactions on database deadlocks
Retry transactions upon database deadlocks, helping to ensure all requests are processed even while there is contention on the domain.serial column. Additionally, due to the copy.deepcopy() introduced in the retry decorator, code which previously relied in the input values to central being mutated in place (only the tests, as everything else was over RPC so couldn't have been mutated in place) can no longer rely on this behavior. Change-Id: Id470608d7cc6c34c133803ba34b9bf242dc5e6ae Closes-Bug: 1408336
- Loading branch information
Showing
2 changed files
with
149 additions
and
15 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