-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.2.11
-
Component/s: MongoDB 3.2
-
Environment:OS
-
Empty show more show less
Counter this issue from time to time
/Users/bob/nug-bi-pull/node_modules/mongodb/lib/utils.js:99
process.nextTick(function()
);
^
MongoError: Topology was destroyed
at nextFunction (/Users/bob/nug-bi-pull/node_modules/mongodb-core/lib/cursor.js:544:25)
at Cursor.next [as _next] (/Users/bob/nug-bi-pull/node_modules/mongodb-core/lib/cursor.js:696:3)
at nextObject (/Users/bob/nug-bi-pull/node_modules/mongodb/lib/cursor.js:672:8)
at Cursor.next (/Users/bob/nug-bi-pull/node_modules/mongodb/lib/cursor.js:262:12)
at /Users/bob/nug-bi-pull/index.js:155:18
at handleCallback (/Users/bob/nug-bi-pull/node_modules/mongodb/lib/utils.js:96:56)
at Collection.find (/Users/bob/nug-bi-pull/node_modules/mongodb/lib/collection.js:373:44)
at Query.callback (/Users/bob/nug-bi-pull/index.js:78:19)
at Query.handleReadyForQuery (/Users/bob/nug-bi-pull/node_modules/pg/lib/query.js:114:10)
at Connection.<anonymous> (/Users/bob/nug-bi-pull/node_modules/pg/lib/client.js:172:19)