-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: RepoSync management conflict reporting (#1354)
- Change the run loop retry handler to check the conflict handler for errors, instead of using a flag in the remediator watchers. This fixes a bug where the applier may only be triggered once after a conflict, even if the conflict was not resolved. - Change the remediator to treat namespace reconcilers the same as root reconcilers when reporting a management conflict error. This fixes a bug which could happen when the applier succeeded and then a new conflict was discovered, which wouldn't report the conflict until the next resync or source change. - Use a RWMutex in the conflict handler, to allows parallel reads. - Change the remote reporting (RootSync -> RootSync) of conflict status errors to read the errors from the conflict handler, instead of the applier errors. This just simplifies the code. The reported errors should be identical.
- Loading branch information
Showing
8 changed files
with
83 additions
and
119 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
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