Post Save Hook Throw ParallelSaveError: Can't save() the same doc multiple times in parallel #6611
Labels
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
Milestone
Do you want to request a feature or report a bug?
bug
What is the current behavior?
I get this error:
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Post save hook have to work as expected and not restricted with parallel saving checkings
Please mention your node.js, mongoose and MongoDB version.
node.js : v10.1.0
mongoose: v5.1.6
MongoDB: v3.4.10
The text was updated successfully, but these errors were encountered: