Lower the number of collections created in create_capped_collection.js when running in a suite with add/remove shard hook

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1022
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2026-09-14
    • 200
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      Reduce the number of unsharded collections in create_capped_collection.js in test suites that run the ContinuousAddRemoveShard hook so that they do not exceed the five-minute test timeout.

      Each unsharded collection takes at least 30 seconds to be drained, meaning that if there are more than 9 unsharded collections the test may hit a timeout failure since create operations are going to be serialized with the moveCollection operations issued during shard draining.

      To keep the suites within the timeout, configure them to create fewer than ten unsharded collections.

            Assignee:
            Silvia Surroca
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: