What causes "command failed to return results"?

57 views
Skip to first unread message

Trindaz

unread,
Dec 29, 2015, 12:58:47 PM12/29/15
to node-mongodb-native
What conditions might cause this error to be thrown: "command failed to return results"? The specific line is at https://github.com/mongodb/node-mongodb-native/blob/1.3.20/lib/mongodb/cursor.js#L681. The error occurs occasionally and I suspect it is related to larger than normal result sets. In what cases would the callback be called without a result *and* without an error?

I left a comment about this at https://github.com/mongodb/node-mongodb-native/commit/7c5c55b6d17fecb82e0310044792cd425c79172d#commitcomment-15193280.

Christian Kvalheim

unread,
Jan 12, 2016, 12:38:18 PM1/12/16
to node-mongodb-native
any command error against mongod will cause this. 
Reply all
Reply to author
Forward
0 new messages