multiple synchronous inserts => not found ?

26 views
Skip to first unread message

Tug

unread,
Nov 19, 2012, 5:09:49 PM11/19/12
to node-mong...@googlegroups.com
Hi guys!

I thought I understood the driver pretty well but I just ran crazy trying to reproduce an issue (I'll post the issue later, I need to understand this first ;))

Why does this very basic code :
https://gist.github.com/4114350

returns :
Connected to MongoDB
ERROR File not found
ERROR File not found
ERROR File not found
ERROR File not found
ERROR File not found
ERROR File not found
ERROR File not found
ERROR File not found
ERROR File not found
ERROR File not found


(even without replica set)

Did I miss something ?

Tug

unread,
Nov 19, 2012, 6:00:19 PM11/19/12
to node-mong...@googlegroups.com
And making the calls asynchronous works (mostly) :

https://gist.github.com/4114656

What is happening under the wood ?

Aaron Heckmann

unread,
Nov 21, 2012, 4:52:53 PM11/21/12
to node-mong...@googlegroups.com
I responded to the duplicate post on the mongoose mailing list here: https://groups.google.com/d/msg/mongoose-orm/G6PyJOFve3k/AKEpVRbdGb8J
Reply all
Reply to author
Forward
0 new messages