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

Sharding balancer does not correctly obey tag ranges, which end in MaxKey

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.10
    • Affects Version/s: 3.2.8, 3.3.9
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 17 (07/15/16)

      If a tag includes MaxKey as the max key, the logic in BalancerPolicy::getTagForChunk will misidentify the tag in which a chunk should go in certain cases. We should fix this and tighten the unit-tests around it.

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

              Created:
              Updated:
              Resolved: