[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: |
|
||||||||
| 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: |
| 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. |