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

Reorder ops in Chunk::_splitIfShould

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.7.1
    • None
    • Sharding
    • None

    Description

      should call pickSplitPoint() after checking if getPhysicalSize() is large enough to split.

      Ideally the two calls could be combined into a single command so only one pass over the data is necessary (very important with random shard keys).

      Attachments

        Activity

          People

            alerner Alberto Lerner
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: