You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the process too fast, it generate duplicate key.
MongoError: E11000 duplicate key error index
Either JavaScript Pseudo random is not good.
I also think Timestamp have a problem too by looking at the key.
Let say, node is running with cluster and more then 10 thread. It is highly possible that both Timestamp and Pseudo random will be the same with high hit.
A way to let user add just one digit will be good enough I guess.
The text was updated successfully, but these errors were encountered:
I got the following error.
When the process too fast, it generate duplicate key.
MongoError: E11000 duplicate key error index
Either JavaScript Pseudo random is not good.
I also think Timestamp have a problem too by looking at the key.
Let say, node is running with cluster and more then 10 thread. It is highly possible that both Timestamp and Pseudo random will be the same with high hit.
A way to let user add just one digit will be good enough I guess.
The text was updated successfully, but these errors were encountered: