[SERVER-47674] Create Facade wrapper for ChunkInfoMap Created: 20/Apr/20  Updated: 29/Oct/23  Resolved: 27/Apr/20

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

Type: Task Priority: Major - P3
Reporter: Alexander Taskov (Inactive) Assignee: Alexander Taskov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-05-04
Participants:

 Description   

Currently, the ChunkInfoMap is defined as a std::map and is returned directly from the RoutingTableHistory interface. This allows all of the calling code and RoutingTableHistory code to be tightly coupled to the implementation and makes it difficult to replace with other types. Introducing a Facade class around the ChunkInfoMap will decouple the remaining code from the implementation and allow us to experiment with and replace it easily.



 Comments   
Comment by Githook User [ 27/Apr/20 ]

Author:

{'name': 'Alex Taskov', 'email': 'alex.taskov@mongodb.com', 'username': 'alextaskov'}

Message: SERVER-47674 Create Facade wrapper for ChunkInfoMap
Branch: master
https://github.com/mongodb/mongo/commit/b3ecf8bc6b2c787d672be1c31187f3f2b2d673cd

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