Lalant commented on code in PR #7482:
URL: https://github.com/apache/ignite-3/pull/7482#discussion_r2797228026
##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/TxStateMeta.java:
##########
@@ -350,6 +450,22 @@ public TxStateMetaBuilder tx(@Nullable InternalTransaction
tx) {
return this;
}
+ /**
+ * Appends exception info to the list, preserving any previously
recorded entries.
+ *
+ * @param exceptionInfo Exception info to add.
+ * @return Builder.
+ */
+ public TxStateMetaBuilder exceptionInfo(@Nullable
TxStateMetaExceptionInfo exceptionInfo) {
+ if (exceptionInfo != null) {
+ if (exceptionInfos == null) {
+ exceptionInfos = new CopyOnWriteArrayList<>();
Review Comment:
Anyway removed since we go to single exception.
--
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]