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

ReplSetConfig validation to support the catalog shard mode

    • Fully Compatible

      Fix the validation error "Fix catalog shard tests with error --configsvr flag must have configsvr:true".

      POC repro:

      buildscripts/resmoke.py run --suite sharded_jscore_txns   --numShards=2 --numReplSetNodes=3 --catalogShardConfig=any  jstests/core/rename_collection_long_name.js
      

      Error:

      [j0:s0] Retrying failed attempt to add new node to fixture: Nodes started with the --configsvr flag must have configsvr:true in their config, full error: {'ok': 0.0, 'errmsg': 'Nodes started with the --configsvr flag must have configsvr:true in their config', 'code': 103, 'codeName': 'NewReplicaSetConfigurationIncompatible', 'lastCommittedOpTime': Timestamp(1647449415, 39), '$clusterTime': {'clusterTime': Timestamp(1647449415, 39), 'signature': {'hash': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 'keyId': 0}}, 'operationTime': Timestamp(1647449415, 39)}
      
      

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

              Created:
              Updated:
              Resolved: