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

make single command for size and median

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.7.0
    • None
    • Sharding
    • None

    Description

      Want to have 1 command "shouldSplitAndMedian??" that figures out if we should split, and if so the split point.
      While doing, also want to change way we determine if we should split.

      Instead of actually counting data, just want to walk index and assume each object is the average object size.
      Will make much faster, and also not require all the data to fit in ram.

      Also - should make it yield as well, just in case it has to page in index.

      Attachments

        Activity

          People

            alerner Alberto Lerner
            eliot Eliot Horowitz (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: