-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tasks): frozen tasks with pgpool (#2264)
This work aims at fixing issues encountered with load balanced pgpool, where a commit is not always instantly visible in another session (when read from replica). Fixes are: - restore a workaround which consists in re-trying the read until success - ensure exceptions occurring in the task execution thread are ALL caught Also removing a technical debt: - remove optional session from task job repo which was just used in tests. It did not work with code which uses both the repo and also the session from the singleton db.session. Signed-off-by: Sylvain Leclerc <[email protected]>
- Loading branch information
Showing
4 changed files
with
85 additions
and
83 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