Upgrade default message protocol for MK6 & MK7
Joannis opened this issue · 0 comments
Joannis commented
As of MongoDB 3.6, users can switch to the modern OP_MESSAGE protocol. As of MongoDB 5.0, the old protocol is deprecated. And as of MongoDB 5.2, the old protocol is unsupported.
Task
- Invert the checks in MongoKitten's serialization that defaults to OP_QUERY, and default to OP_MESSAGE instead. Allow users to default to the legacy protocol when trying to connect to MongoDB.
- Ensure user's handshakes use the
hello
command