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

Create Facade wrapper for ChunkInfoMap

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2020-05-04

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: