Cyrill commented on code in PR #2856:
URL: https://github.com/apache/ignite-3/pull/2856#discussion_r1427189908
##########
modules/api/src/main/java/org/apache/ignite/lang/ErrorGroups.java:
##########
@@ -354,6 +354,9 @@ public static class Transactions {
/** Coordinator tries to commit a transaction that has already been
aborted. */
public static final int TX_WAS_ABORTED_ERR =
TX_ERR_GROUP.registerErrorCode((short) 15);
+
+ /** Coordinator tries to abort a transaction that has already been
committed. */
+ public static final int TX_WAS_COMMITTED_ERR =
TX_ERR_GROUP.registerErrorCode((short) 16);
Review Comment:
I started to doubt that we need both TX_WAS_ABORTED_ERR and
TX_WAS_COMMITTED_ERR, isn't TX_UNEXPECTED_STATE_ERR enough for us?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]