christkv/node-mongodb-native — Issue #427: findAndModify Error - Next object larger than space left in message
Author: lalitkapoor
Created: 2011-12-05 08:27:49+00:00
State: open

When executing a findAndModify I get the following Error:

version of node: 0.4.12
version of node-mongodb-native: 0.9.7.1.4
native flag not passed to mongodb when installed via npm
version of mongoose: 2.4.1

reverting to node-mongodb-native: 0.9.6-23 (mongoose version 2.3.13) works

Error outputted to mongod:

Mon Dec 5 02:08:00 [conn4] Assertion: 10306:Client Error: Next object larger than space left in message
0x10008de9b 0x100060f91 0x1002b9db3 0x1002c3f18 0x100433888 0x100446d74 0x7fff89ed58bf 0x7fff89ed8b75
0 mongod 0x000000010008de9b _ZN5mongo11msgassertedEiPKc + 315
1 mongod 0x0000000100060f91 _ZN5mongo9DbMessage9nextJsObjEv + 385
2 mongod 0x00000001002b9db3 _ZN5mongo13receivedQueryERNS_6ClientERNS_10DbResponseERNS_7MessageE + 355
3 mongod 0x00000001002c3f18 _ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE + 1528
4 mongod 0x0000000100433888 _ZN5mongo10connThreadEPNS_13MessagingPortE + 616
5 mongod 0x0000000100446d74 thread_proxy + 132
6 libsystem_c.dylib 0x00007fff89ed58bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff89ed8b75 thread_start + 13
Mon Dec 5 02:08:00 [conn4] AssertionException in connThread, closing client connection
Mon Dec 5 02:08:00 [conn4] Client Error: Next object larger than space left in message

callback in findAndModify Operation is not called.