Skip to content

Commit 9b8c916

Browse files
authored
Add TODO-JAVA-6126 to inform readers that the problem is known (#1910)
1 parent 2b00a83 commit 9b8c916

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

driver-core/src/main/com/mongodb/internal/session/BaseClientSessionImpl.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,13 @@ protected TimeoutSettings getTimeoutSettings(final TransactionOptions transactio
240240
}
241241

242242
protected enum TransactionState {
243-
NONE, IN, COMMITTED, ABORTED
243+
NONE,
244+
/**
245+
* TODO-JAVA-6126 We miss the `STARTING` state, it is combined with the {@link #IN} state.
246+
* See <a href="https://jira.mongodb.org/browse/JAVA-6126">JAVA-6126</a> for more details.
247+
*/
248+
IN,
249+
COMMITTED,
250+
ABORTED
244251
}
245252
}

0 commit comments

Comments
 (0)