Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
t-mullen opened this issue Jul 4, 2017 · 1 comment
Open

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

t-mullen opened this issue Jul 4, 2017 · 1 comment
Labels

Comments

@t-mullen
Copy link
Member

t-mullen commented Jul 4, 2017

  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 t-mullen added the bug label Jul 4, 2017
@t-mullen t-mullen changed the title Deleted file reappear as empty files when re-entering a room Deleted files reappear as empty files when re-entering a room Jul 4, 2017
@t-mullen
Copy link
Member Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant