-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core/metadata: Consider single side as up-to-date (#2098)
It appears we can end up in situations where the only remaining side is smaller than the target. This can lead to conflicts when merging a file modification on the same side when we don't expect it. Although we don't know how we get into this situation (it could be related to multiple sync errors on the other side which is later dissociated), we want to mitigate its consequences by making sure the `Metadata.isUpToDate()` and `Metadata.isAtLeastUpToDate()` methods consider a single side as up-to-date.
- Loading branch information
1 parent
e403ef1
commit 7f00d8c
Showing
4 changed files
with
111 additions
and
21 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