Cyrill commented on code in PR #2856:
URL: https://github.com/apache/ignite-3/pull/2856#discussion_r1430471459
##########
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:
Does it come from the contract of this method or did you have a particular
implementation in mind?
--
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]