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
MDB_BAD_RSLOT: Invalid reuse of reader locktable slot #21
Comments
|
I suppose if d threads don't correspond 1:1 to OS threads. |
|
Can't find evidence supporting that theory though... |
|
Weird, I never saw this error ever - on which filesystem are you running LMDB and on which architecture? I took care to now violate the threading restriction, so if I didn't make a mistake, there should not be an error like that. |
|
Does it succeed if you try again or is this error persistent? |
|
I tried 5 (or so) times and got it each time. I've added |
|
So, why did I never see this? I am running asgen with LMDB |
|
I think that was a build fix... Maybe the compiler optimisations or the precise versions of GDC are provoking the bug here, but I have no idea. So I also tried making there be just one I've read through |
|
I think |
|
On this bug - what do you think about using |
|
From reading other people's code, it seems like everyone is switching on But the docs say:
So, it looks like this only impacts read transactions anyway, and those are safe. |
I got this
The documentation says "A transaction and its cursors must only be used by a single thread, and a thread may only have a single transaction at a time." - is it possible for this to be violated here?
The text was updated successfully, but these errors were encountered: