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

Strict balancing guarantees with sharding tags

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.0-rc0
    • Component/s: Sharding
    • None
    • Sharding

      In 2.2.0-rc0 tag aware sharding behaves strange: it doesn't offer strict guarantee to which chunk a document will be placed when inserted. So if we have 2 tags for 2 shards (e.g. 'US-West' and 'US-East') on an empty collection, inserting 2 documents which map to different tags will place both documents into one chunk; and the chunk location will depend on to which of the tags we've made insertion first. This behavior scales to any number of documents: there's always a high chance to have documents "misplaced" this way after automatic chunk splitting.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            bios Vadim Semenov
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: