nedb
nedb copied to clipboard
Concurrent autoload instance fails on db tempfile renaming
When using nedb for a webapp with concurrent requests that open the same db file the library tries to do multiple rename operations on db tempfile, and when the first one already succeeded the following ones fails since the tempfile doesn't exist anymore:
./node_modules/nedb/lib/datastore.js:77 if (err) { throw err; } ^ Error: ENOENT: no such file or directory, open './server/db/LpJTzs81YzLVczd9/history/fiveMinSnapshot.db~'
any updates on this?
any update on this?