Wednesday 22 May 2019

MongoDB - ParallelSaveError: Can’t save() the same doc multiple times in parallel




ParallelSaveError: Can’t save() the same doc multiple times in parallel




I was working on nodejs application suddenly application crashed and written in console, Can’t save() the same doc multiple times in parallel
than i review my code i got one mistake

exists.save();
exists.save().then((data:any)=>{
}).catch((error:any)=>{
})




No comments:

Post a Comment

Bitnami - For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname.

For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname. login into your server using ssh or from ...