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

Chunks on same server incorrectly calculate central keys for split

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.9.0
    • None
    • Sharding
    • None
    • Linux Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux
    • ALL

    Description

      When multiple chunks are present on the same server for the same collection, the split key is automatically calculated as the key at half the total size of the index, not the size of the individual chunk. This leads to errors when the chunk size is smaller than half the total index size. Included test reproduces.

      Attachments

        1. diff_for_fix.diff
          9 kB
        2. shard_keycount.js
          1 kB

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: