[SERVER-48573] txn_two_phase_commit_killop.js should handle clients with no opCtx Created: 03/Jun/20  Updated: 29/Oct/23  Resolved: 10/Aug/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.7.0, 4.4.6

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Participants:
Linked BF Score: 35

 Description   

Test uses currentOp to collect OpIds to kill here. However, currentOp iterates over every client and there is a tiny window where the client would have the matching desc field, but without an opCtx. This would cause the test to hit this error



 Comments   
Comment by Githook User [ 16/Apr/21 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-48573 txn_two_phase_commit_killop.js should handle clients with no opCtx

(cherry picked from commit 47af7f4c26237857843aaa61728280d6de9fbe4d)
Branch: v4.4
https://github.com/mongodb/mongo/commit/1786a10c7278a9242566ec5647687fa95bf68f12

Comment by Githook User [ 10/Aug/20 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-48573 txn_two_phase_commit_killop.js should handle clients with no opCtx
Branch: master
https://github.com/mongodb/mongo/commit/47af7f4c26237857843aaa61728280d6de9fbe4d

Generated at Thu Feb 08 05:17:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.