[SERVER-50957] Move anonymous functions which run writes to config docs in txns onto the ShardingCatalogManager Created: 15/Sep/20  Updated: 29/Oct/23  Resolved: 21/Sep/20

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

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: PM-234-M1, PM-234-T-lifecycle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-50304 Coordinator updates config.resharding... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-09-21, Sharding 2020-10-05
Participants:

 Description   

The anonymous functions defined here are useful outside of refineCollectionShardKey (which they were created for), and resharding would like to be able to use them. This ticket is to expose these methods and put them on the manager so that they can be used outside to write to config documents outside of sharding_catalog_manager_collection_operations.cpp.



 Comments   
Comment by Githook User [ 21/Sep/20 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-50957 Move anonymous functions which run writes to config docs in txns onto the ShardingCatalogManager
Branch: master
https://github.com/mongodb/mongo/commit/4a362919e211b8f88853796c936b4c9157d05b16

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