Open dewongway opened 2 years ago
that error looks like it is from mongodb-async. try using the vanilla mongodb client instead.
that error looks like it is from mongodb-async. try using the vanilla mongodb client instead.
i have a same issue... could you provide more instructions in detail? (i.e a command) :)
I'm also facing the same issue.
Is there a way to fix the mongodb-async
?
Note: mongodb
is working.
as the error message states, it looks like a client upgrade is needed. If there is a more recent version of the async mongodb client available, you could try updating it in a local build.
I'm also having the same issue. Can we get this code to be merged?
Hi,
Has anyone used ycsb with MongoDB 6.x? The latest ycsb failed to make connection to the database with the following error. It seems like the mongodb java driver bundled in ycsb is not updated to the version 6? Has anyone run into it and how do you resolve this? I’m thinking I can just install the latest mongodb java driver but have no experience in java development and I’m looking for some guidance/suggestions.
com.allanbank.mongodb.error.ReplyException: Unsupported OP_QUERY command: insert. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal at com.allanbank.mongodb.util.FutureUtils.unwrap(FutureUtils.java:57) at com.allanbank.mongodb.client.SynchronousMongoCollectionImpl.insert(SynchronousMongoCollectionImpl.java:687) at com.allanbank.mongodb.client.SynchronousMongoCollectionImpl.insert(SynchronousMongoCollectionImpl.java:722) at site.ycsb.db.AsyncMongoDbClient.insert(AsyncMongoDbClient.java:272) at site.ycsb.DBWrapper.insert(DBWrapper.java:221) at site.ycsb.workloads.CoreWorkload.doInsert(CoreWorkload.java:601) at site.ycsb.ClientThread.run(ClientThread.java:135) at java.lang.Thread.run(Thread.java:750)
Thanks