[SERVER-61719] Create mongoq_main.cpp as a copy of mongos_main.cpp and omit unneeded parts Created: 23/Nov/21  Updated: 06/Dec/22  Resolved: 06/Jan/22

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

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: [DO NOT USE] Backlog - Server Serverless (Inactive)
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Serverless
Participants:

 Description   

Currently, mongos_main.cpp does startup initialization for mongos and mongoq.

This ticket is to make a copy of mongos_main.cpp called mongoq_main.cpp and remove the parts that are not needed in mongoq, specifically:

  • Updating the config server's config.shards on hearing changes to a replica set's membership (code)
  • Refreshing the BalancerConfiguration (code)
  • Initializing the ShardingUptimeReporter (code)

Generated at Thu Feb 08 05:53:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.