[SERVER-64570] ReplSetConfig validation to support the catalog shard mode Created: 16/Mar/22  Updated: 29/Oct/23  Resolved: 17/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Andrew Shuvalov (Inactive) Assignee: Andrew Shuvalov (Inactive)
Resolution: Fixed Votes: 0
Labels: sharding-nyc-subteam2, sharding-nyc-subteam2-catalog-poc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-63598 Umbrella ticket for minimal POC for o... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

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)}


Generated at Thu Feb 08 06:00:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.