Chunks on same server incorrectly calculate central keys for split

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.9.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Environment:
      Linux Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

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

              Created:
              Updated:
              Resolved: