[SERVER-72112] Use only one constant for local.system.replset namespace Created: 14/Dec/22  Updated: 29/Oct/23  Resolved: 09/Feb/23

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

Type: Improvement Priority: Major - P3
Reporter: Matthew Russotto Assignee: Jiawei Yang
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-02-06, Repl 2023-02-20
Participants:

 Description   

We have a constant in NamespaceString called NamespaceString::kSystemReplSetNamespace, and a constant in replication_coordinator_external_state_impl kConfigCollectionNS which both refer to local.system.replset. We should replace the latter with the former for consistency and to make it easier to find uses of this collection.



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

Author:

{'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}

Message: SERVER-72112 remove duplicate kConfigCollectionNS
Branch: master
https://github.com/mongodb/mongo/commit/a6181195a61db06b7b5439bf0d8bc5b2f4a1c0bb

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