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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.2.7, 4.4.0-rc2, 4.7.0
    • Sharding
    • None
    • Fully Compatible
    • v4.4, v4.2, v4.0, v3.6
    • Sharding 2020-04-20
    • 35

    Description

      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.

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi
            esha.maharishi@mongodb.com Esha Maharishi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: