-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
If a ClientSession is already in the "transaction committed" state, drivers are required to re-run the previous commitTransaction if commitTransaction(); is called the second time. However, the second commitTransaction operation does not utilize the TimeoutContext because the first commitTransaction sets it to null.
Expected Behavior: The subsequent commitTransaction should be executed with a TimeoutContext that has the timeout reset from the previous operation.
Actual Behavior: Currently, when the commitTransaction is re-run, it proceeds without any TimeoutContext, leading to breaking a CSOT guarantee.
Acceptance criteria:
- TimeoutContext is preserved for subsequent CommitTransaction operations.
- Disabled tests with
//TODO JAVA-5425
comment are enabled.