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

In config POC the ShardingTest with zero shards initially is broken

    • Fully Compatible
    • Sharding NYC 2022-04-18
    • 2

      The failure is in the fixture:

      [js_test:addshard2] uncaught exception: TypeError: this._rs[0] is undefined :
      [js_test:addshard2] ShardingTest@src/mongo/shell/shardingtest.js:1345:9
      [js_test:addshard2] @jstests/sharding/addshard2.js:58:12
      [js_test:addshard2] @jstests/sharding/addshard2.js:182:3
      [js_test:addshard2] failed to load: jstests/sharding/addshard2.js
      
      

      Tests to reproduce:

      jstests/sharding/addshard2.js
      jstests/auth/sasl_mechanism_discovery.js
      jstests/sharding/addshard6.js
      ...
      

      and similar tests we start with zero shards.

            Assignee:
            kshitij.gupta@mongodb.com Kshitij Gupta
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: