Add test cases for direct connection DDLs on replicaset

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-09-01, CAR Team 2025-09-15
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The test coverage of the direct connection ddl checks has so far mostly been unittesting - the purpose of this ticket is to add targeted tests which check that

      1. direct ddls against replica sets are allowed without special permissions
      2. direct ddls against nodes started with --shardsvr or --configsvr --replicaSetConfigShardMaintenanceMode are allowed without special permissions
      3. direct ddls started after the initialization of sharding during addShard are disallowed with normal permissions but allowed with special permissions
      4. direct ddls started before the initialization of sharding must be drained before addShard can continue
      5. direct ddls against members of a sharded cluster are disallowed

            Assignee:
            Anna Maria Nestorov
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: