-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:mongodb 2.0.6
-
Linux
mongodb configuration: 2shards, 3instances each, 3 config servers, remote mongos, 52mbit network between mongos and mongod, 1gbit between mongod's
I'm trying to retrieve data from mongodb via single .find() query in mongo console.
code:
var i=0;
var cursor=db.load.find();
while(cursor.hasNext())
;print;
while attempts to do so on the local machine are always successful, the query on remote mongos fails repeatable on the same entity.
entities length seems to be homogeneous.
console output:
1670457
getMore: cursor didn't exist on server, possible restart or timeout?
db.load.count():
3236686
db.stats():
mongos> db.stats(1024*1024);
{
"raw" : {
"rset01/load1ft:27017,load2ft:27017,load3ft:27017" :
,
"rset02/load1gt:27017,load2gt:27017,load3gt:27017" :
},
"objects" : 3236704,
"avgObjSize" : 0.005544220293236576,
"dataSize" : 17945,
"storageSize" : 18957,
"numExtents" : 79,
"indexes" : 6,
"indexSize" : 724,
"fileSize" : 30579,
"ok" : 1
}
mongos logs:
Mon Aug 27 18:49:16 [conn1] want cursor : 1975918310978336011
Mon Aug 27 18:49:16 [conn1] CursorCache::get id: 1975918310978336011
Mon Aug 27 18:49:16 [conn1] scoped connection to load1ft:27017 not being returned to the pool
Mon Aug 27 18:49:16 [conn1] AssertionException while processing op type : 2005 to : testing.load :: caused by :: 13127 getMore: cursor didn't exist on server, possible restart or timeout?
- duplicates
-
SERVER-5157 Cursor id is being stored at mongos after reply is sent to client
- Closed