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

handle race conditions #15

Closed
overheadhunter opened this issue Jun 14, 2018 · 1 comment
Closed

handle race conditions #15

overheadhunter opened this issue Jun 14, 2018 · 1 comment
Assignees
Milestone

Comments

@overheadhunter
Copy link
Member

We should internally use a ReadWriteLock to sync access per path (potentially including child paths). Until then we will use the -s mount option.

On Macs we can easily create such race conditions by copying a (nonempty) directory onto the mounted volume when not using -onoappledouble.

(not to be confused with #13)

@overheadhunter
Copy link
Member Author

Locking scheme is implemented in a best-effort manner. We have disabled -s and I haven't seen any errors that clearly lead to the assumption that race conditions still occur.

Reopen if needed.

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

No branches or pull requests

1 participant