-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Uses locks to protect the MultiError, Sycning, and Apply method independently. This is a hack to imporve threadsafety without changing the Applier interface. More work will probably be needed to actually fix the status inconsistency issues. - Modify all the places calling SetSyncStatus to also call UpdateConflictManagerStatus. This series of multiple updates is still a mess that needs more work, but at least it should be consistently flakey now. Every status update will remove the conflict errors, and then the conflict errors are prepended back in with another update. - Rename applier.Interface to KptApplier to make way for the KptDestroyer interface later. - TODO: I still don't understand why only RootSyncs have conflict errors from the remediator added to their status... Change-Id: I1c3373f98bb5d842ce113ba61dc0c87e1119c665
- Loading branch information
Showing
8 changed files
with
158 additions
and
85 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
Oops, something went wrong.