Alt-er / obsidian-sync-share

Sync and share (publish) your notes in your own private service.
https://share.alter.run/share/alter/0798331c-7d63-4fa7-b312-a600ad62aea7
MIT License
80 stars 1 forks source link

file sync bug #17

Closed wangweitung closed 8 months ago

wangweitung commented 8 months ago

iPad turn on the option:setting-daily note-open daily note on startup. (turned off at 10/23)

10/24: phone creat the daily note and take some notes.

at 10/24 night open iPad and it automatically creates a new 10/24 daily note with nothing.

then I manually activate sych-share-plugin on ipad. then I manually activate sych-share-plugin on phone. the daily note 10/24 on phone gets lost. only with a blank daily note left.

is this a sync bug or not?

wangweitung commented 8 months ago

or adding an option that automatically sycn at startup?

Alt-er commented 8 months ago

This is not a bug, because the file update depends on the modification time. When the modification time of the same file in different devices is different, the most recently modified one will overwrite the previous data.

If you add a function to automatically run synchronization when starting the plug-in, it seems that the problem cannot be avoided, because the plug-in cannot guarantee that your other plug-ins have not previously created files with the same name when running synchronization.