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

Make SplitHeuristics.maxParallelSplits tunable

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 3.2.6
    • Sharding
    • None
    • Sharding
    • ALL

    Description

      We continue to observe lock contention during the split in our environment, which is caused by mongos sending 5 split requests on the same chunk at the same time. All the 5 split requests failed due to lock contention, and mongos would try to split again and again. It makes the sharding become very slow.

      I seems to me it's better to disable to parallel splits?

      Attached is the detail logs on mongod.

      Attachments

        1. tmp3
          52 kB

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            bydsky xihui he
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: