Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoDB OP_UPDATE and OP_INSERT is no longer supported #1741

Open
karim-manaouil opened this issue Dec 13, 2024 · 0 comments
Open

MongoDB OP_UPDATE and OP_INSERT is no longer supported #1741

karim-manaouil opened this issue Dec 13, 2024 · 0 comments

Comments

@karim-manaouil
Copy link

Hi,

I was trying to get YCSB to work with MongoDB, but the YCSB clients keeps failing with

mongo connection created with mongodb://192.168.100.5:27017/ycsb?w=0                                     
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
12:26:24.040 [MongoDB 58414<--jammy:27017] INFO  c.a.mongodb.client.ClientImpl - Unexpected MongoDB Connection closed: MongoDB(58414-->jammy/192.168.100.5:27017). Will try to reconnect.
12:26:24.043 [MongoDB 58414<--jammy:27017] INFO  c.a.m.c.s.SimpleReconnectStrategy - Reconnected to jammy:27017(WRITABLE,3.407947242813855)
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
2024-12-13 12:26:24:044 0 sec: 0 operations; est completion in 106751991167300 days 15 hours [CLEANUP: Count=1, Max=669, Min=669, Avg=669, 90=669, 99=669, 99.9=669, 99.99=669] [INSERT: Count=0, Max=0, Min=0, Av
g=0, 90=0, 99=0, 99.9=0, 99.99=0] [INSERT-FAILED: Count=1, Max=45279, Min=45248, Avg=45264, 90=45279, 99=45279, 99.9=45279, 99.99=45279] 

And MongoDB server logs contains

{"t":{"$date":"2024-12-13T12:26:24.037+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.72.0.7:58414","uuid":{"uuid":{"$uuid":"6c279251-1885-4b00
-929b-10b7e00f4467"}},"connectionId":19,"connectionCount":1}}                                                                                                                                                     
{"t":{"$date":"2024-12-13T12:26:24.038+00:00"},"s":"I",  "c":"COMMAND",  "id":4879802, "ctx":"conn19","msg":"Failed to handle request","attr":{"error":"Location5745701: OP_UPDATE is no longer supported"}}      
{"t":{"$date":"2024-12-13T12:26:24.039+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn19","msg":"Connection ended","attr":{"remote":"10.72.0.7:58414","uuid":{"uuid":{"$uuid":"6c279251-1885-4b00-929b

It happens both on MongoDB v8 and v5 on Ubuntu 22.04.

@karim-manaouil karim-manaouil changed the title MongoDB OP_UPDATE is no longer supported MongoDB OP_INSERT is no longer supported Dec 13, 2024
@karim-manaouil karim-manaouil changed the title MongoDB OP_INSERT is no longer supported MongoDB OP_UPDATE/OP_INSERT is no longer supported Dec 13, 2024
@karim-manaouil karim-manaouil changed the title MongoDB OP_UPDATE/OP_INSERT is no longer supported MongoDB OP_UPDATE\/OP_INSERT is no longer supported Dec 13, 2024
@karim-manaouil karim-manaouil changed the title MongoDB OP_UPDATE\/OP_INSERT is no longer supported MongoDB OP_UPDATE and OP_INSERT is no longer supported Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant