[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: |
|
||||
| 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: |