-
Notifications
You must be signed in to change notification settings - Fork 30
IPFS eventual consistency on shared folders #313
Comments
Very good question. Can somebody please answer? |
answer attempt: IPFS deals with files and hashes of files. There's no concept of "tracking" a file, if a file (or directory) changes and is updated on IPFS, it will be referenced by a different hash. It's up to you, or an external daemon, to keep track of which hash, from those published on IPFS, corresponds to the "newest", or "correct" version of a file. |
Conflicting commits can be prevented by using CRDTs.
This is handled by IPNS. The path |
To add to this:
|
@jbenet |
IMO, the primary missing component is private content and/or access controls. Right now, that can be layered on-top-of IPFS but that basically means you need to layer a second encrypted filesystem on-top-of IPFS (which is suboptimal...). |
When using IPFS for usecase 2:
"As a mounted personal sync folder that automatically versions, publishes, and backs up any writes."
How are concurrent edits on different nodes merged so that the all nodes eventually see the same file system state.
If I understand correctly, each node would write a new commit object on changing the file system, but how are (potentially) conflicting commits on different nodes merged?
Andy
The text was updated successfully, but these errors were encountered: