[SERVER-10529] Allow isMaster to report the wire version (range) it expects Created: 15/Aug/13  Updated: 11/Jul/16  Resolved: 20/Aug/13

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: None
Fix Version/s: 2.5.2

Type: New Feature Priority: Major - P3
Reporter: Alberto Lerner Assignee: Alberto Lerner
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-97 New Write command API & New fluent bu... Closed
is depended on by JAVA-1025 Drivers should only talk to servers w... Closed
Related
Participants:

 Description   

The version of the wire determines if two agents of the system (driver, servers, and mongos) can interact. For each agent, there is a version that they are at (max) and there is a minimum version that they are compatible with. If two agents have on overlap of a version, they can talk. In practice, this may prevent a too old server to join a cluster or a too old application to talk to a server.

Each agent has a fixed range that never changes.

For a mongod and a mongos, the version will be reported on the 'isMaster' command:

'isMaster.maxWireVersion' reports the version the mongod/s are at
'isMaster.minWireVersion' reports the oldest version that the mongod/s can understand

For now, versions are only going to be reported on 'isMaster'.



 Comments   
Comment by auto [ 20/Aug/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10529 Allow isMaster to report the wire version (range) it expects.
Branch: master
https://github.com/mongodb/mongo/commit/9fb1245ae1133f76c52105f561dd4d02f531f2de

Generated at Thu Feb 08 03:23:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.