[SERVER-60780] Wait for completion promise after canceling TransactionCoordinator in TransactionCoordinatorCatalogTest unit tests Created: 18/Oct/21  Updated: 29/Oct/23  Resolved: 18/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0

Type: Bug Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2021-11-01
Participants:
Linked BF Score: 50

 Description   

This test sometimes hits the invariant in the destructor for TransactionCoordinator because it only waits for the decision promise so the unit test can exit before the completion promise is set.



 Comments   
Comment by Githook User [ 18/Oct/21 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-60780 Wait for completion promise after canceling TransactionCoordinator in TransactionCoordinatorCatalogTest unit tests
Branch: master
https://github.com/mongodb/mongo/commit/9416d3062590bf24f94bd90a57a97d42d608b242

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