Operational Defect Database

BugZero found this defect 213 days ago.

MongoDB | 2478413

Fix cancelling txn api from the caller

Last update date:

3/12/2024

Affected products:

MongoDB Server

Affected releases:

7.2.0-rc0

7.0.2

7.1.0

7.3.0-rc0

Fixed releases:

7.2.1

7.3.0-rc0

7.0.5

Description:

Info

The transaction API uses the InlineExecutor to cancel the operation context. Since the InlineExecutor is also in charge of running the transaction itself, if the transaction gets stuck somewhere, we are not able to interrupt the operation context through the caller's cancellation token because the executor is taken.

Top User Comments

xgen-internal-githook commented on Tue, 2 Jan 2024 22:45:42 +0000: Author: {'name': 'Israel Hsu', 'email': 'israel.hsu@mongodb.com', 'username': 'israelhsu'} Message: SERVER-82313 Uses proper TaskExecutor for canceling txn Branch: v7.2 https://github.com/mongodb/mongo/commit/f87abc7ddd5fe1a21092bef74727f87393b003f7 xgen-internal-githook commented on Mon, 13 Nov 2023 22:33:21 +0000: Author: {'name': 'Israel Hsu', 'email': 'israel.hsu@mongodb.com', 'username': 'israelhsu'} Message: SERVER-82313 Uses proper TaskExecutor for canceling txn Branch: v7.1 https://github.com/mongodb/mongo/commit/929b9eadbbf04b555ec5910bf26543f2fb2dcb0e xgen-internal-githook commented on Mon, 13 Nov 2023 22:28:55 +0000: Author: {'name': 'Israel Hsu', 'email': 'israel.hsu@mongodb.com', 'username': 'israelhsu'} Message: SERVER-82313 Uses proper TaskExecutor for canceling txn Branch: v7.0 https://github.com/mongodb/mongo/commit/a63b92c90fa455a08b4e638fcead2c95d50a289d xgen-internal-githook commented on Wed, 8 Nov 2023 23:36:51 +0000: Author: {'name': 'Israel Hsu', 'email': 'israel.hsu@mongodb.com', 'username': 'israelhsu'} Message: SERVER-82313 Uses proper TaskExecutor for canceling txn Branch: master https://github.com/mongodb/mongo/commit/ca824e8fa708644a6784efed5724e9b6463ae81c

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...