Cleanup the contract of ChunkManager::findIntersectingChunk

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: