[MXS-3773] nosqlprotocol should report 0 as the minimum wire protocol version Created: 2021-09-17  Updated: 2021-09-17  Resolved: 2021-09-17

Status: Closed
Project: MariaDB MaxScale
Component/s: nosqlprotocol
Affects Version/s: 6.1.1
Fix Version/s: 6.1.2

Type: Bug Priority: Major
Reporter: Johan Wikman Assignee: Johan Wikman
Resolution: Fixed Votes: 0
Labels: None


 Description   

The intention of nosqlprotocol is to support version 6 of the wire protocol and that is the version it during handshaking reports both as the minimum and maximum supported wire protocol.

However, it appears that that causes the MongoDB Shell to not always use MSG packets that were introduced in version 6, but earlier packet types as well. In particular, if the convenience functions are used (and not just runCommand()) then older packet types are used.

Reporting 0 as the minimum supported wire protocol version and 6 as the maximum, seems to cause the MongoDB Shell to only use version 6.


Generated at Thu Feb 08 04:23:51 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.