kriszyp / lmdb-js

Simple, efficient, ultra-fast, scalable data store wrapper for LMDB
Other
482 stars 39 forks source link

Not deleting temporary .mdb-lock #139

Open kriszyp opened 2 years ago

kriszyp commented 2 years ago

V2.2 adds support for temporary databases, which are stored in the system temp directory, and deleted when the environment is closed. However, we are currently only deleting the .mdb file, as deleting the .mdb-lock causes inexplicable crashes, manifested in a variety of ways across different OSes.