[SERVER-33597] Make allow_partial_results.js, return_partial_shards_down.js start shards as replica sets Created: 01/Mar/18 Updated: 29/Oct/23 Resolved: 01/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1, 4.2.3, 4.0.15, 3.6.18 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Cheahuychou Mao |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | ShardsAsReplicaSetsInTest, open_todo_in_code | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Backport Requested: |
v4.2, v4.0, v3.6
|
||||||||||||||||||||||||||||
| Sprint: | Sharding 2019-10-07 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
In both allow_partial_results.js and return_partial_shards_down.js, a shard is shut down, and then a find command is run with the flag allowPartialResults set to true. When the tests are run with the shard servers as replica sets and the shard rs is stopped, they fail on the find command with the error
for the replica set that was shut down. It looks like there is an exception that is caught here when the shards are started as standalones that prevents the error being thrown, but it's not caught when the shards are started as replica sets. |
| Comments |
| Comment by Githook User [ 09/Feb/20 ] |
|
Author: {'username': 'cheahuychou', 'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com'}Message: (cherry picked from commit e6bbc9d860d126978ecda8707872cfdcc6b57fa8) |
| Comment by Githook User [ 20/Dec/19 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}Message: |
| Comment by Githook User [ 20/Dec/19 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}Message: |
| Comment by Githook User [ 20/Dec/19 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}Message: (cherry picked from commit e6bbc9d860d126978ecda8707872cfdcc6b57fa8) |
| Comment by Githook User [ 19/Dec/19 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}Message: (cherry picked from commit e6bbc9d860d126978ecda8707872cfdcc6b57fa8) |
| Comment by Githook User [ 01/Oct/19 ] |
|
Author: {'username': 'cheahuychou', 'email': 'cheahuychou.mao@mongodb.com', 'name': 'Cheahuychou Mao'}Message: |