Cyrill commented on code in PR #2856:
URL: https://github.com/apache/ignite-3/pull/2856#discussion_r1430480448
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/raft/PartitionListener.java:
##########
@@ -576,7 +583,11 @@ private static void onTxStateStorageCasFail(UUID txId,
TxMeta txMetaBeforeCas, T
txMetaToSet
);
- IgniteInternalException stateChangeException = new
IgniteInternalException(TX_UNEXPECTED_STATE_ERR, errorMsg);
+ IgniteInternalException stateChangeException =
+ new UnexpectedTransactionStateException(
+ errorMsg,
+ new TransactionResult(txMetaBeforeCas.txState(),
txMetaBeforeCas.commitTimestamp())
Review Comment:
Agreed, that it is impossible due to the fact that the whole method is
actually executed in RAFT
--
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]