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

Make SplitHeuristics.maxParallelSplits tunable

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.6
    • Component/s: Sharding
    • None
    • Sharding
    • ALL

      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.

        1. tmp3
          52 kB
          xihui he

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

              Created:
              Updated:
              Resolved: