Reorder ops in Chunk::_splitIfShould

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 1.7.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • 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:
            Alberto Lerner (Inactive)
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: