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

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.7, 4.4.0-rc2, 4.7.0
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4, v4.2, v4.0, v3.6
    • Sprint:
      Sharding 2020-04-20
    • Linked BF Score:
      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

            Assignee:
            esha.maharishi Esha Maharishi
            Reporter:
            esha.maharishi Esha Maharishi
            Participants:
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: