3 ms·
You can't just synchronise things without knowing the file formats. You can't do a seamless distributed FS which allows offline changes. Or more precisely, you
by viraptor 4y ago
You can't just synchronise things without knowing the file formats. You can't do a seamless distributed FS which allows offline changes.
Or more precisely, you can, but by choosing the most fresh file and people have lost work that way. There's a few "dropbox ate my files" stories out there.
- jeffreygoesto 4y agoI assume that "decent" in the comment meant to address that?
- viraptor 4y agoIt would have to be magical not just decent. This is not solvable on the level of the file system. You can't add a blue line to an image on one system and a red line on another system and expect the filesystem to somehow figure out how to handle that on its own. The best you can count on is the conflict being flagged with both versions exposed.
- Huh1337 4y agoCRDTs? Perhaps the idea of plain text/binary files is a little outdated too.
- viraptor 4y agoCRDT is extremely format-specific. File systems don't operate at that level. And that's before we even decide if the merged edits is what you actually want.
- marcosdumay 4y agoThat is usually handled by exposing a "driver" API where the relevant programs can install merging components. And yes, default into choosing some one, with an extended interface for displaying and managing conflicts.