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

Possible bug in SplitVector: Mongodb keeps on splitting the same chunk over and over again for hours

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 2.2.4
    • None
    • Sharding
    • None
    • ALL

    Description

      This happens when the balancer is trying to move a chunk that is too big to move. It issues a "forced split" to reduce the size of the chunk. The split succeeds, but it splits the chunk on the 250000th document in the chunk. By the time mongodb tries to move the same chunk again it will be too big to move. It will then issue another "forced split". The "forced split" will result in a spilt on the 250000th document in the chunk. This pattern will sometimes go on for several hours. It will result in several hundreds or sometimes thousands of "small" chunks containing just a hand full of documents.

      Attachments

        1. balancer.prob.log
          70 kB
          David Weibull

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dawei David Weibull
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: