multihack-brackets icon indicating copy to clipboard operation
multihack-brackets copied to clipboard

Deleted files reappear as empty files when re-entering a room

Open t-mullen opened this issue 7 years ago • 1 comments

  1. Delete a file with one other person.
  2. Leave the room after some time.
  3. Rejoin and the file will be recreated as an empty file with the same path.

t-mullen avatar Jul 04 '17 20:07 t-mullen

YJS dumps emits the history of create/deletes on sync, instead of giving the current state. Combined with the async nature of the filesystem, this allows files to be remade (multiple async create/deletes started at the same time will result in the file being created)

t-mullen avatar Nov 20 '17 22:11 t-mullen