-
Notifications
You must be signed in to change notification settings - Fork 628
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
DB.Close(): funlock error #60
Comments
It looks like this patch (my mistake) locked the wrong file descriptor. Before the patch the file descriptor used was based on The patch factored it out of the loop, but based on The file vs. lockfile subtlety seems to exist only on Windows, as the I could happily patch it but I don't have anymore (and won't have for the coming months) a Windows platform to test it. But if you have one, let me know and we can do it together. |
I just modified bolt_windows.go at line 65, change |
LGTM |
can you send a patch to fix this? |
fixed by #64 |
Thks |
windows 10 x64
golang 1.9.1 and 1.8.4
bbolt v1.3.1-coreos.2(no problem with v1.3.1-coreos.1)
error when calling bolt.DB.Close():
2017/10/10 11:05:57 bolt.Close(): funlock error: The segment is already unlocked.
#35(Support no timeout locks on db files) lead to this issue
The text was updated successfully, but these errors were encountered: