Make SplitHeuristics.maxParallelSplits tunable

XMLWordPrintableJSON

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

      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

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

                Created:
                Updated:
                Resolved: