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

Reorder ops in Chunk::_splitIfShould

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None

      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).

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

              Created:
              Updated:
              Resolved: