[SERVER-80822] Move WireSpec Parameters out of code into defaults Created: 06/Sep/23  Updated: 12/Sep/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Erin McNulty Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-51700 Use TransportLayer to acquire WireSpec Closed
Assigned Teams:
Service Arch
Participants:

 Description   

In each main mongo executable (mongo, mongos, mongod, mongoq, etc.) there is a function that initializes the WireSpec parameters:

https://github.com/10gen/mongo/blob/6a836ac18b9530f4a5e0f87a048497eb0686a77d/src/mongo/s/mongos_main.cpp#L742-L751

https://github.com/10gen/mongo/blob/cf78d87ee503ecb877d261c9138d786b0b3b399f/src/mongo/db/mongod_main.cpp#L1393

https://github.com/10gen/mongo/blob/cf78d87ee503ecb877d261c9138d786b0b3b399f/src/mongo/embedded/embedded.cpp#L127

https://github.com/10gen/mongo/blob/cf78d87ee503ecb877d261c9138d786b0b3b399f/src/mongo/shell/mongo_main.cpp#L167

(enterprise links in comments)

We should move these default parameters out of the middle of the setup code and into defaults somewhere, where they are more easily discoverable.


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