-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support wire protocol 4 (Server v3.2) #11
Comments
This is important to be able to use mongo-go-driver with Document Layer. It only supports server versions >= 3.2. |
There's also the One important difference with |
Mongo Swift driver, MongoKitten, seems to have the same issue. The latest release, 5.0, has removed support for MongoDB 3.0. |
Any updates on this? I'd be happy to help work on this, just having trouble parsing through the cpp codebase as it's been a few years since I've worked with the language |
That would be great @likeabbas. We are planning on finishing this before 1.7.0, end of this month. I am just about to start on this issue. If you want to contribute we can find pieces of this issue you can take on. There are so many other issues you can contribute as well. To start, you could take on couple of simple ones, like #84 and #92. That will give you introduction into code and also gives you chance to setup your development environment. I am thinking of adding some design documentation. I can use this as an opportunity as well. |
Just wanna clarify that, according to my local tests, |
I tested the latest |
Any updates on this? The support for server v3.2 will be release soon? Thank for hardworking on this. Love this project. |
As of v5.0 MongoDB Community deprecates the legacy OP_QUERY, OP_UPDATE, etc. write protocol message formats. https://jira.mongodb.org/browse/SERVER-55788 The OP_COMMAND + OP_COMMAND_REPLY ones were an inbetween attempt to have a generic command message type. They were never used by clients, instead OP_MSG was the next began support with v3.6. Related blog post: https://emptysqua.re/blog/driver-features-for-mongodb-3-6/. To put it another way it was Jan 2020 when v3.4, the last OP_MSG-incompatible server version, was EOL'ed. So although MongoDB drivers will probably continue to support OP_QUERY etc. for older mongodb server versions for a while yet a MongoDB compatible wire protocol should just move forward to OP_MSG. Offering backward compatibility has been N/A for a year or so already. |
Wire protocol 4 adds
mongos
doesn't implement this as well. The client never sends this message. We don't have to implement this.The text was updated successfully, but these errors were encountered: