[SERVER-25699] Avoid making copies of ShardId in DBConfig::getPrimaryId Created: 19/Aug/16  Updated: 06/Dec/22  Resolved: 25/Aug/16

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

Type: Improvement Priority: Major - P3
Reporter: Randolph Tan Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-22175 DBConfig needs to lock mutex whenever... Closed
Assigned Teams:
Sharding
Participants:

 Description   

After changes made by SERVER-22175, DBConfig::getPrimaryId now returns a copy of ShardId instead of a reference.


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