Resolving sync conflicts

I've just been trying out a few scenarios where sync conflicts can appear and I've observed two cases.

  1. Wrote a few words in a paragraph at the same location on two devices. After synchronization one was gone without a trace.
  2. Later, conflicts were reported and a separate page was created. This is useful.

The default behaviour is positive in that no changes simply get lost. I could not reproduce the point #1, as the conflict page was generated fine.

I would like to ask what people do in such case. If the document is long, it is difficult to notice what has changed. Is there any built-in mechanism for dealing with conflicts or do people export / copy-paste elsewhere to compare?

Would it be useful to make some kind of diff view where two notes can be compared? This would be useful for conflict notes.

    Welcome to here!

    Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.

    Signup About
    Please input reply content ...
    • cicko
      PRO Author

      Otherwise, I have to say that the synchronization works pretty well if the devices are synchronized sequentially.

      In the first case, I triggered sync at exactly the same time to test what happens. This is not very likely to happen in reality but was a useful test. In other instances, where there is at least a couple of seconds difference, the sync is pretty reliable.

      I'm not sure, however, what would happen after two instances have been modified over a period of days, when one of them was offline.