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

Enhance the core_sharding passthrough suite for tests requiring a minimum set of routers and/or shards

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 3

      The core_sharding passthrough suite currently provides a shared cluster with a fixed number of routers and shards. This means only tests that are agnostic on the cluster configuration can be configured on that suite.

      This precludes the possibility of running tests designed to work with a minimum number of routers and/or a minimum number of shards.

      The goal of this ticket is to enhance the core_sharding suite (and related test fixture) by providing tags like the following:

      • require_at_least_2_routers
      • require_at_least_2_shards
      • require_at_least_2_rs_nodes (nice to have)

      At the same time, we also need some helpers to access another (random?) routers and shards, similar to what we have in fixture_helpers.js.

      Attached is secondaries_clear_filtering_metadata.js, written in the context of SERVER-86669, which can be used as a sample that requires 2 routers and 2 shards. As a part of this ticket, it should be included in the core_sharding passthrough suite.

            Assignee:
            Unassigned Unassigned
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: