-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 5.0.8
-
Component/s: None
-
None
-
ALL
-
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
full error:
C:\Users\ericcoh\Projects\privateTest\node_modules\mongodb\lib\cmap\connection.js:210
callback(new error_1.MongoServerError(document));
^
MongoServerError: Cannot run getMore on cursor 6353724926596320531, which was created in session 9248a52d-57c5-47db-bf9d-1efa9ebf9474 - 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=, without an lsid
at Connection.onMessage (C:\Users\ericcoh\Projects\privateTest\node_modules\mongodb\lib\cmap\connection.js:210:30)
at MessageStream.<anonymous> (C:\Users\ericcoh\Projects\privateTest\node_modules\mongodb\lib\cmap\connection.js:63:60)
at MessageStream.emit (node:events:527:28)
at processIncomingData (C:\Users\ericcoh\Projects\privateTest\node_modules\mongodb\lib\cmap\message_stream.js:132:20)
at MessageStream._write (C:\Users\ericcoh\Projects\privateTest\node_modules\mongodb\lib\cmap\message_stream.js:33:9)
at writeOrBuffer (node:internal/streams/writable:389:12)
at _write (node:internal/streams/writable:330:10)
at MessageStream.Writable.write (node:internal/streams/writable:334:10)
at Socket.ondata (node:internal/streams/readable:754:22)
at Socket.emit (node:events:527:28) {
ok: 0,
code: 50737,
codeName: 'Location50737',
[Symbol(errorLabels)]: Set(0) {}
}
associated code:
.get(async(req, res) =>
).toArray();
console.log((await x).length)
})
more info: this query should have 89 documents in it each has a few strings for some info and a binary entry of 5-6 mb .
i have no idea why its doing this i see that this was an issue a few years ago but those tickets show a status of fixed.
any help would be appriciated.