Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Acquire per-sync-resource locks for sync all --rid <rids>
The scheduler threads triggers "sync all --rid <rids>", grouping rids with compatible schedule, but this action acquired the service-wide sync lock, thus blocking the possibility of running another sync_all on a different resources set until finished. This lead to lock timeout errors in the logs. This patch implements a per-resource lock for sync_all --rid <rids>.
- Loading branch information
Showing
2 changed files
with
96 additions
and
5 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