[SERVER-55768] Make txn_two_phase_commit_killop.js not kill prepareTransaction on the coordinator Created: 02/Apr/21 Updated: 29/Oct/23 Resolved: 06/Apr/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0-rc1, 5.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Cheahuychou Mao | Assignee: | Cheahuychou Mao |
| 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.9
|
||||||||
| Sprint: | Sharding 2021-04-05, Sharding 2021-04-19 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 44 | ||||||||
| Description |
|
The way that the test finds the pids for the operations to kill is through a $currentOp aggregation command with query {desc: "TransactionCoordinator"}. The command can return the pid for the prepareTransaction operation on the coordinator shard itself. Killing that operation is expected to cause the transaction to abort. The currentOp entry for the prepareTransaction operation should have the command obj inside the "command" so we can make use of this property to filter out its pid. |
| Comments |
| Comment by Githook User [ 09/Apr/21 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}Message: (cherry picked from commit d3aac65e0114429242b507825183ce7224ab9901) |
| Comment by Githook User [ 06/Apr/21 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}Message: |