[SERVER-58999] require_api_version.js is not properly testing requireApiVersion parameters Created: 02/Aug/21  Updated: 29/Oct/23  Resolved: 03/Aug/21

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

Type: Bug Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by SERVER-27383 Require --replSet with --configsvr Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2021-08-09
Participants:

 Description   

SERVER-58315 changes tests that used shards as standalone servers in order to set the foundations needed to commit SERVER-27383. require_api_version.js checks that a mongod binary cannot start as a config server node and set requireApiVersion as true, but, after SERVER-27383 we can't start a mongod instance as a config server node without a replica set name, so the assert is working but because there is no replica set name specified, instead of the intended parameter combination. We only need to add the replSet parameter like the shard node test.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 03/Aug/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-58999 Add replSet parameter when setting up configsvr node on require_api_version.js test
Branch: master
https://github.com/mongodb/mongo/commit/5a3762da3353a235bdd921d18f6c0438d1f0b05d

Generated at Thu Feb 08 05:46:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.