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

`autoSplitVector` must not return invalid split points

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Catalog and Routing

    Description

      Before committing a migration this check is ensuring that the bounds are valid shard keys.

      Given that moveRange is choosing a bound relying on the output of autoSplitVector, we should make sure that it never returns invalid split points. This will help to:

      • Avoid wasting time cloning before failing the commit
      • Avoid repeatedly selecting invalid split points

      This ticket is an optimization that will not be needed in case SERVER-12536 gets done.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: