bmatsuo / lmdb-go

Bindings for the LMDB C library
BSD 3-Clause "New" or "Revised" License
158 stars 59 forks source link

lmdb: Benchmarks calling BeginTxn without Readonly lock their threads #101

Closed bmatsuo closed 7 years ago

bmatsuo commented 7 years ago

I have seen occasional deadlocking while running benchmarks and #94 spurred me to look into the possibility that some benchmarks have been unsafely creating write transactions. I did find several such instances. It is hard to tell if the infrequent deadlocks I experienced are gone for good but this can't really hurt.