[SERVER-58683] Simplify config replicaset exposure in ShardingTest Created: 20/Jul/21  Updated: 29/Oct/23  Resolved: 21/Jul/21

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

Type: Task Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding EMEA 2021-07-26
Participants:

 Description   

Back in the time in which we supported both standalone and replica set for config server, we used to store the config replica set object in "configRS" and the config server nodes connections in "_configServers".
Currently we only support the config server as replica set in ShardingTest and thus the latter is not necessary anymore. Moreover since we are always using replsettest class to instantiate the config server replica set, we can completely delegate the authentication and bridge setting management for the config server to it.

The idea is that shardingtest will only expose the config repl set object "configRS" and a minimal set of helpers function to operate over it.



 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 [ 21/Jul/21 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-58683 Simplify config replicaset exposure in shardingtest
Branch: master
https://github.com/mongodb/mongo/commit/1169927930340eeaaf00a48a66d96e80adda97ba

Comment by Githook User [ 21/Jul/21 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-58683 Simplify config replicaset exposure in shardingtest
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/c4723eefa4e35fc5ff5c9fa9039cc9350a9b57f1

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