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

Allow JS core test files to access multiple mongos nodes of a ShardedClusterFixture

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Correctness
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Although today it is possible for a JS Core test suite to instantiate a ShardedClusterFixture with multiple mongos, it is not possible for a test file to interact with the cluster through more than a single connection.

      This potentially limits the test coverage guaranteed today and it represents a blocker for writing explicit test cases about the behavior of mongos nodes with stale routing information.

      Such gaps could be addressed by:

      • (in general) allow test cases to round-robin through the existing mongos processes
      • (exclusively to support the validation of stale routing information) allow to programmatically connect to multiple specific mongos instances

            Assignee:
            Unassigned Unassigned
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: