[SERVER-36222] call to ReplSetTest.restart in shard_identity_rollback.js is racy Created: 20/Jul/18 Updated: 29/Oct/23 Resolved: 30/Sep/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 3.4.16, 3.6.6, 4.0.0, 4.1.1 |
| Fix Version/s: | 3.6.15, 4.0.13, 4.2.1, 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Esha Maharishi (Inactive) | Assignee: | Janna Golden |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v4.2, v4.0, v3.6
|
||||||||||||||||||||
| Sprint: | Sharding 2018-08-13, Sharding 2018-08-27, Sharding 2019-09-23, Sharding 2019-10-07 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 29 | ||||||||||||||||||||
| Description |
|
The call to restart() waits to connect to the restarted node by default, but in this case the node is expected to crash after starting up, so the call to restart is racy and can fail if the node crashes before restart() is able to connect to it. The test should pass {waitForConnect: false} as the options object to this call to restart. |
| Comments |
| Comment by Githook User [ 07/Oct/19 ] |
|
Author: {'name': 'Janna Golden', 'username': 'jannaerin', 'email': 'janna.golden@mongodb.com'}Message: (cherry picked from commit f14c26dfc3975f0c98af26573ab91b5d9c09ee71) |
| Comment by Githook User [ 07/Oct/19 ] |
|
Author: {'name': 'Janna Golden', 'username': 'jannaerin', 'email': 'janna.golden@mongodb.com'}Message: (cherry picked from commit f14c26dfc3975f0c98af26573ab91b5d9c09ee71) |
| Comment by Githook User [ 07/Oct/19 ] |
|
Author: {'name': 'Janna Golden', 'username': 'jannaerin', 'email': 'janna.golden@mongodb.com'}Message: (cherry picked from commit f14c26dfc3975f0c98af26573ab91b5d9c09ee71) |
| Comment by Githook User [ 30/Sep/19 ] |
|
Author: {'username': 'jannaerin', 'email': 'janna.golden@mongodb.com', 'name': 'Janna Golden'}Message: |
| Comment by Githook User [ 28/Sep/19 ] |
|
Author: {'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}Message: Revert " This reverts commit 1baa6565f72abccd2062af426b171d23af200b23. |
| Comment by Githook User [ 27/Sep/19 ] |
|
Author: {'username': 'jannaerin', 'email': 'janna.golden@mongodb.com', 'name': 'Janna Golden'}Message: |
| Comment by Githook User [ 23/Sep/19 ] |
|
Author: {'name': 'Janna Golden', 'username': 'jannaerin', 'email': 'janna.golden@mongodb.com'}Message: Revert " This reverts commit e91ba00e77b5c330d37474740b425f2c0d681e4f. |
| Comment by Githook User [ 20/Sep/19 ] |
|
Author: {'name': 'Janna Golden', 'username': 'jannaerin', 'email': 'janna.golden@mongodb.com'}Message: |