-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure to resolve conflicting hidden files #554
Comments
This issue occurred again a few minutes later, and the exact same list of files had conflicts. This seems odd, since the only one that would have changed was the recent-files-obsidian/data.json file.
The files which had no changes did get resolved immediately on clicking them, but the recent-files-obsidian/data.json file did not get resolved automatically. I assumed this would happen based on what I saw in the final step of "Reproducing procedure" in the original issue. I then tried it with enabling LiveSync Settings > Patches > Compatibility (Conflict Behaviour) > Apply Latest Change if Conflicting, with both options on, and with both options off. In all cases, the result was the same: the unchanged files disappeared when clicked, the conflicting file did not get resolved and presented a popup when clicked. This leads me to believe that the files that are 'disappearing' when clicked are not being resolved automatically at all. They might not even be real conflicts, in which case clicking on them simply makes the ghost conflict disappear. It also shows that both of the settings to enable automatic conflict handling have no effect on this issue. |
I also failed to resolve the issue with deletion of the local database before a fetch.
Expected: Actual: |
I tried using the options in "LiveSync Settings > Sync Settings > Hidden Files > Enable Hidden files sync" to resolve the issue. "Merge" and "Fetch" did not remove or change any of the conflicted hidden files as seen in the "Pick a file to resolve conflict" menu. "Overwrite" resulted in an entirely new set of conflicting hidden files being Now this new set of conflicting hidden files is reflected across all my devices (edit: in addition to the previous conflicts). None of these files have had any changes to their contents (just like the earlier conflicts), and they disappear immediately when clicking them one by one in the "Pick a file to resolve conflict" menu. EDIT: I thought the Overwrite action replaced the conflicts with new ones, but the old conflicts are still there, just at the bottom of the (very long) list of conflicts. |
I have resolved this by:
After doing this, no conflicts appear in the menu. This indicates to me that the conflicts are within the remote db state itself, and it might be the case that these can't be resolved by applying changes on local storage or the local db alone. |
Abstract
Multiple attempts to resolve a batch of conflicts in hidden files fail to resolve them, including fetching from the remote DB.
Reproducing procedure
Expected:
The conflicts should be resolved in the background. No conflicts should appear in the "Pick a file to resolve conflict" menu
Actual:
The same conflicts as before appear in the conflict picker.
Expected:
The conflicts should be resolved in the background. No conflicts should appear in the "Pick a file to resolve conflict" menu
Actual:
The same conflicts as before appear in the conflict picker.
Expected:
The conflicts should be resolved in the background. No conflicts should appear in the "Pick a file to resolve conflict" menu
Actual:
The same conflicts as before appear in the conflict picker.
Expected:
There should be no conflicts since the local version is freshly fetched from the remote db. No conflicts should appear in the "Pick a file to resolve conflict" menu
Actual:
The same conflicts as before appear in the conflict picker.
Expected:
All conflicts should be resolved in the background
Actual:
The same conflicts as before appear in the conflict picker, but they do get resolved automatically when clicked on one by one
UPDATE: This issue occurred again, and this final solution failed to resolve any of the conflicts.
Report materials
Report from the LiveSync
Report from hatch
Plug-in log
Plug-in log
output.txt
Screenshots
Hidden files which failed to be resolved:
Other information, insights and intuition.
This issue may be a result of my own inaccurate expectations of what these settings do. If so, some more relabeling/description/documentation would be appreciated.
It is also possible that these conflicts were themselves being synchronized into the remote DB, which would explain why there were still conflicts after fetching.
Thank you for all that you do!
The text was updated successfully, but these errors were encountered: