[SERVER-45149] replSetStepDown command in txn_two_phase_commit_failover.js should not timeout Created: 13/Dec/19 Updated: 29/Oct/23 Resolved: 09/Dec/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0, 5.1.2, 5.0.6, 4.4.11, 5.2.0-rc1, 4.2.19 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Esha Maharishi (Inactive) | Assignee: | Luis Osta (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-nyc-subteam1, sharding-wfbf-sprint | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v5.2, v5.1, v5.0, v4.4, v4.2
|
||||||||||||
| Sprint: | Sharding 2021-12-27 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 22 | ||||||||||||
| Story Points: | 2 | ||||||||||||
| Description |
|
This test is more susceptible to replSetStepDown failing to acquire the ReplicationStateTransition lock because it sets a low (one second) stepDownSecs. We should increase the stepDownSecs to prevent this issue, keeping in mind not to set it too high, since this test calls replSetStepDown many times and needs to wait for the same node to transition back to primary. Another solution would be to manually step up a primary. Proposed by max.hirschhorn here. Like this:
|
| Comments |
| Comment by Githook User [ 10/Dec/21 ] |
|
Author: {'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}Message: (cherry picked from commit fb20ae3c42cc5724d74baaeab089db4e3a650d2c) |
| Comment by Githook User [ 10/Dec/21 ] |
|
Author: {'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}Message: (cherry picked from commit fb20ae3c42cc5724d74baaeab089db4e3a650d2c) |
| Comment by Githook User [ 10/Dec/21 ] |
|
Author: {'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}Message: (cherry picked from commit fb20ae3c42cc5724d74baaeab089db4e3a650d2c) |
| Comment by Githook User [ 10/Dec/21 ] |
|
Author: {'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}Message: (cherry picked from commit fb20ae3c42cc5724d74baaeab089db4e3a650d2c) |
| Comment by Githook User [ 10/Dec/21 ] |
|
Author: {'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}Message: (cherry picked from commit fb20ae3c42cc5724d74baaeab089db4e3a650d2c) |
| Comment by Githook User [ 09/Dec/21 ] |
|
Author: {'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}Message: |