[SERVER-74006] Add an abstraction to inquire a cluster’s min/max `WireVersion` Created: 14/Feb/23  Updated: 29/Oct/23  Resolved: 27/Feb/23

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Amirsaman Memaripour Assignee: Patrick Freed
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-02-20, Service Arch 2023-03-06
Participants:

 Description   

This abstraction allows a server to inquire about the WireVersion supported by all members of its cluster, and is necessary to implement the gossiping protocol defined in MongoDB gRPC Protocol. Initially, getClusterWireVersion will not involve any intra-cluster gossiping and will always return the current MongoDB WireVersion.

class WireVersionManager {
	WireVersionInfo getClusterWireVersion() const = 0;
};



 Comments   
Comment by Githook User [ 25/Feb/23 ]

Author:

{'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}

Message: SERVER-74006 Introduce abstraction for accessing the cluster-wide maxWireVersion
Branch: master
https://github.com/mongodb/mongo/commit/71f90697444a61f9023c205d8df945d26dd033b7

Generated at Thu Feb 08 06:26:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.