Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47674

Create Facade wrapper for ChunkInfoMap

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2020-05-04

      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.

            Assignee:
            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            Reporter:
            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: