Lalant commented on code in PR #7349:
URL: https://github.com/apache/ignite-3/pull/7349#discussion_r2812431671


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/TxManagerImpl.java:
##########
@@ -454,6 +454,10 @@ public InternalTransaction 
beginImplicit(HybridTimestampTracker timestampTracker
 
     @Override
     public InternalTransaction beginExplicit(HybridTimestampTracker 
timestampTracker, boolean readOnly, InternalTxOptions txOptions) {
+        if (readOnly && txOptions.txLabel() != null) {
+            throw new TransactionException(Common.ILLEGAL_ARGUMENT_ERR, 
"labels are not supported for read only transactions");

Review Comment:
   Done



-- 
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]

Reply via email to