Strict balancing guarantees with sharding tags

XMLWordPrintableJSON

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

      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:
              [DO NOT USE] Backlog - Sharding Team
              Reporter:
              Vadim Semenov
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: