-
Notifications
You must be signed in to change notification settings - Fork 175
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
Repeated crashes during merge operations [JIRA: RIAK-1903] #217
Comments
This failure is happens in this line of bitcask.erl because we fail to close a bitcask file. In 1.4.1, this line looks like this:
The
@slfritchie, @engelsanchez, do you think that if this |
Sounds like the file has already been explicitly closed before getting the 'DOWN' message. So this is called: Line 150 in 1b5ad68
And then we try to close the same already closed file descriptor and get a badarg. It seem it would be more robust to change the fd to undefined after closing it, and checking for undefined in the file:close for the 'DOWN' message. |
Thank you, I'm happy with closing the ticket then. |
Leave it open @hcs42. It's a small race worth fixing. |
This is a 1.4.1 (bitcask 1.6.3) deployment. Seeing repeated crashes during merge operations. Couldn't find any similar existing issues. No expectation of fix in this version, but creating for identification purposes/in case it exists in 1.7.
The text was updated successfully, but these errors were encountered: