[SERVER-69054] Parameterize set_read_preference_secondary.js read preference Created: 22/Aug/22  Updated: 29/Oct/23  Resolved: 09/Sep/22

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

Type: Task Priority: Major - P3
Reporter: Vesselina Ratcheva (Inactive) Assignee: Vesselina Ratcheva (Inactive)
Resolution: Fixed Votes: 0
Labels: former-quick-wins, initial-sync-sharding-test
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-65977 Create initial sync concurrency suite... Closed
is related to SERVER-66323 Create initial sync concurrency suite... Open
Backwards Compatibility: Fully Compatible
Sprint: Repl 2022-09-19
Participants:

 Description   

Currently, that file hard-codes the read-preference to secondary, but it would be very useful to make that configurable so it can accept custom tags. We can make that preference a TestData parameter that defaults to secondary in this file but can be overridden as needed.



 Comments   
Comment by Githook User [ 07/Sep/22 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-69054 Parameterize set_read_preference_secondary.js read preference
Branch: master
https://github.com/mongodb/mongo/commit/1edab98fff4a8b77412251b35fe5148afd0b6793

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