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

Cleanup the contract of ChunkManager::findIntersectingChunk

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.3, 3.5.4
    • Affects Version/s: 3.5.3
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v3.4
    • Sharding 2017-03-06

      The ChunkManager::findIntersectingChunk method currently sometimes returns StatusWith and sometimes throws, while reaching directly in the CatalogCache.

      It should be changed to return the specific chunk if one chunk can be found or to always throw if it a single chunk cannot be found due to collation or lack of shard key.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: