sysbench-mongodb
sysbench-mongodb copied to clipboard
Exception thrown
Hello,
I am using mongo 4.0.9, centos 7.7. I am getting this exception after the tools runs for a 5 minutes or so.
Exception in thread "Thread-22" com.mongodb.CommandFailureException: { "serverUsed" : "mongodev-as-13.sys.comcast.net:27017" , "operationTime" : { "$ts" : 1585191732 , "$inc" : 552} , "ok" : 0.0 , "errmsg" : "The 'cursor' option is required, except for aggregate with the explain argument" , "code" : 9 , "codeName" : "FailedToParse" , "$clusterTime" : { "clusterTime" : { "$ts" : 1585191732 , "$inc" : 552} , "signature" : { "hash" : <Binary Data> , "keyId" : 6806729106311348225}}}
at com.mongodb.CommandResult.getException(CommandResult.java:76)
at com.mongodb.CommandResult.throwOnError(CommandResult.java:140)
at com.mongodb.DBCollection.aggregate(DBCollection.java:1633)
at com.mongodb.DBCollection.aggregate(DBCollection.java:1613)
at com.mongodb.DBCollection.aggregate(DBCollection.java:1601)
at jmongosysbenchexecute$MyWriter.run(jmongosysbenchexecute.java:371)
at java.base/java.lang.Thread.run(Thread.java:834)