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

Cleanup the contract of ChunkManager::findIntersectingChunk

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.5.3
    • 3.4.3, 3.5.4
    • Sharding
    • None
    • Fully Compatible
    • v3.4
    • Sharding 2017-03-06

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: