Sync overwrites newer files with older ones

Steps to reproduce

  • Enable sync on a machine (Windows) with the newest version of the vault
  • Wait till the sync is finished
  • Enable sync on a machine (Linux) with an older version of the vault

Expected result

  • All the older files in the older vault get rewritten with the newer files

Actual result

  • Some newer files get replaced with older versions

Environment

  • Obsidian version: 0.9.21
  • New notes: Windows
  • Old notes: Linux

Additional notes

  • Not sure, but it seems that the older notes that overwrote the newer versions were the ones that I visited (on the machine with the older versions) before they synced with the server

this was fixed in 0.10.1