Make autoSplitVector return `continuation` flag

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2022-03-21
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The autoSplitVector function currently prevents returning more than 16MB of split keys. Such limit could be reached for very large collections or in case of "big" shard key fields.

      Objective of this ticket is to modify the function and the command in order to return also a boolean flag indicating whether or not the index scan had been interrupted because the BSON max size was reached. In that case, the caller must perform additional autoSplitVector calls.

            Assignee:
            Allison Easton
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: