Skip to content
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

Concurrent autoload instance fails on db tempfile renaming #534

Open
aspacca opened this issue Dec 9, 2017 · 2 comments
Open

Concurrent autoload instance fails on db tempfile renaming #534

aspacca opened this issue Dec 9, 2017 · 2 comments

Comments

@aspacca
Copy link

aspacca commented Dec 9, 2017

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~'

@nishmeht7
Copy link

any updates on this?

@sourvil
Copy link

sourvil commented Jun 24, 2020

any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants