Modify clusterwide_ops_with_add_remove_shards.js to avoid test timeout failures due to slow execution

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • CAR Team 2023-11-27
    • 57
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-81974 introduced the execution of a setClusterParameter command as part of both addShard and removeShard, causing a slightly increased execution time of a user request when the cluster transitions from/into a single shard topology when it gets committed.

      This overhead is now causing sporadic failures of the clusterwide_ops_with_add_remove_shards.js test, which heavily stresses this execution path and may go beyond the Evergreen timeout when run in slower variants.

              Assignee:
              Paolo Polato
              Reporter:
              Paolo Polato
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: