-
Notifications
You must be signed in to change notification settings - Fork 1
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
Use platform-dependent lock mechanism #269
Comments
The main possible downside of a platform-dependent lock file ( |
The main problem I see is that the unix process will not remove the lock file, so for the window process it still looks like the folder is locked. |
Maybe we can encode in |
When setting up a shared folder, you do not necessarily know which platforms will access the folder, e.g. if it is a network share, so I don't see how you can store it inside the config. What we could do instead maybe is adding a hidden file to the shared folder the first time any Windows machine accessed it. Afterwards we know that we have to use lock files for that particular folder. |
Yes, that's sounds like a better solution. |
As discussed in #201 we have switched to a soft lock mechanism as a platform-independent lock mechanism. Unfortunately, this is not always safe and we can run into dead locks when a process is killed and the lock file is not removed. Since this is a very unfortunate behavior we should consider to switch back to a platform-dependent lock mechanism.
The text was updated successfully, but these errors were encountered: