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

Set minNumChunksForSessionsCollection to 1 on the CSRS in ShardedClusterFixture-based suites

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.7, 4.4.0-rc2, 4.7.0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • v4.4, v4.2, v4.0, v3.6
    • Sharding 2020-04-20
    • 35

      SERVER-45624 introduced this parameter because it also made the balancer split the sessions collection into 1024 chunks by default.

      Before SERVER-45624 our tests never created enough sessions for the initial chunk to get split, so they always ran with 1 chunk. SERVER-45624 set the parameter to 1 in servers.js, which applies to all ShardingTest-based suites, but we should also set the parameter to 1 in ShardedClusterFixture-based suites.

      This should be backported as far as SERVER-45624 is backported.

            Assignee:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: