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

splitChunk failure when "find" mode of operation is used

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:

      Description

      Testcase:
      https://github.com/dcci/mongo-stress/blob/master/moveShard.c

      In order to trigger, here https://github.com/dcci/mongo-stress/blob/master/moveShard.c#L102
      instead of i += 2, just put ++i.

      The first 14 splits works just fine then 1 over 2 fails. As long as "find" is used, maybe it's not actually splitting at the exact point, it's splitting the chunk in half, then when you keep splitting there's already a chunk boundary at that point. Using "middle" fixes the problem.

      After a discussion with Greg Studer he thinks this is probably WAD, but keep track of this for further investigation.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            davide.italiano Davide Italiano
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: