Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUse sync no merge #3798
Use sync no merge #3798
Conversation
|
This is marked as draft because I found at least one STR which does not work well.
For now, from what I have seen, deviceB does not sends UPDATE + new parentObjectId record. |
|
|
|
Here is what happens inside when the issue above happens. There are two important points. I. When bookmark is applied to model, it is placed to the correct position in
This causes bookmark resending on next sync send cycle for each moved bookmark which just had been applied from the cloud. Chromium does not have such behaviour because Chromium does not need to update bookmark sync node after moving bookmark node in model. II. The actual situation for the STR above. The problem: deviceB does not send record Steps from deviceB:
from this point the mess begins
This happened because incoming update is equal to pending changes. |
|
I am going to introduce into brave/sync#353 the 3rd state like resolve to none if remote record is equal to local record to see , will it help for STR above. Seems it should. |
|
Attempt to intruduce resolve equal records to The solution could be to avoid mark chromium sync nodes as UNSYNCED after moving bookmark. |
|
Closing as moving to sync v2 |
AlexeyBarabash commentedOct 28, 2019
Submitter Checklist:
Fixes brave/brave-browser#6636
npm run lint)git rebase master(if needed).git rebase -ito squash commits (if needed).Test Plan:
Reviewer Checklist:
After-merge Checklist:
changes has landed on.