-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.2.1
-
Component/s: None
-
None
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
While function execution via MongoShell 3.2.1 there is the following error
"ok" : 0,
"errmsg" : "Cursor not found, cursor id: 153428771771",
"code" : 43
Function implements cycle with cursor as follows
Bar.java
function(dateBeg, dateEnd) {
var db1 = connect('IP:27017/databaseName');
db1.auth("login","password");
var result =
db.transactions.aggregate([...],{allowDiskUse:true},
{noTimeout: true}
);
while (result.hasNext())
{
p = result.next();
db1.MAS_aggregated_data.insert(p);
};
result.close();
}
- duplicates
-
SERVER-24474 cursor next/hasnext throws MongoException at random
-
- Closed
-