Make moveRange/moveChunk resize the chunk dynamically when it is too big

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This feature is to make migrations make the chunk smaller if it realized that it is too big.

      Things to consider:

      • Currently, we just scan the shard key index and retrieve the record Ids of the docs, so we can't actually tell how big the actual documents are until we start fetching the documents for the recipient shard.
      • We will need to add extra filtering in the xferMods command to filter out documents that are no longer part of the smaller chunk range.

            Assignee:
            Randolph Tan
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: