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

ofs.persit allows read access to a not properly closed file #115

Closed
klabattermann opened this issue May 14, 2014 · 1 comment
Closed

ofs.persit allows read access to a not properly closed file #115

klabattermann opened this issue May 14, 2014 · 1 comment

Comments

@klabattermann
Copy link
Member

Hello

I am using the option: ofs.persist auto hold 5m
When I write a file and kill the writing process the incomplete file gets removed after the hold time (as expected). However, while the file is available on disk clients can read the file. My understanding is that in this case a client should be delayed either until the file got removed or the original client finished writing the file. Old versions (20090721) I tested behave this way.
The tests were done with v3.3.6 and the HEAD as of a few days ago.

Cheers,
Wilko

@abh3
Copy link
Member

abh3 commented Jul 11, 2014

This now has been fixed by commit 04d6fa please let me know if that works for you/

@abh3 abh3 closed this as completed Jul 11, 2014
@ljanyst ljanyst added the fixed label Jul 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants