[SERVER-43758] Set up a queryableBackupMode cluster on read_only_test.js library Created: 02/Oct/19  Updated: 29/Oct/23  Resolved: 01/Apr/21

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

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao 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
causes SERVER-55897 Typo on option passed to stopMongod c... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-03-22, Sharding 2021-04-05
Participants:

 Description   

The tests in jstests/readonly use standalones instead of replica sets because when starting shards as replica sets, the tests fail here with the error message "Cannot drop 'local' database while replication is active" because replica sets do writes for election and reconfig.



 Comments   
Comment by Githook User [ 01/Apr/21 ]

Author:

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

Message: SERVER-43758 Start a cluster with queryableBackupMode on readonly tests
Branch: master
https://github.com/mongodb/mongo/commit/c2f5a747a5c55f35f51ce59d58f707c75940ba23

Comment by Marcos José Grillo Ramirez [ 22/Mar/21 ]

The current state of the ticket is the following: I'm rewriting the runExecPhase of read_only_test.js to shutdown the shardingtest object, then setting up the cluster again changing the configurations and using MongoRunner.runMongod with the queryableBackupMode on the shards.

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