Lalant commented on code in PR #7482:
URL: https://github.com/apache/ignite-3/pull/7482#discussion_r2917619559
##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/TxManager.java:
##########
@@ -145,6 +145,17 @@ default InternalTransaction
beginExplicitRo(HybridTimestampTracker timestampTrac
@Nullable
<T extends TxStateMeta> T updateTxMeta(UUID txId, Function<@Nullable
TxStateMeta, TxStateMeta> updater);
+ /**
+ * Atomically updates transaction metadata while bypassing TxState
transition validation.
Review Comment:
Updated
##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/VolatileTxStateMetaStorage.java:
##########
@@ -115,6 +119,53 @@ public void initialize(InternalTransaction tx, @Nullable
String txLabel) {
});
}
+ /**
+ * Atomically updates transaction metadata (TxStateMeta) without
validating TxState transitions.
Review Comment:
Updated
--
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]