ascherbakoff commented on code in PR #6272:
URL: https://github.com/apache/ignite-3/pull/6272#discussion_r2215904427


##########
modules/client/src/main/java/org/apache/ignite/internal/client/tx/DirectTxUtils.java:
##########
@@ -256,7 +256,7 @@ public static CompletableFuture<ClientChannel> 
resolveChannel(
         String opNode = pm == null ? null : pm.nodeConsistentId();
 
         if (tx != null) {
-            return tx.hasCommitPartition() && opNode != null ? opNode : 
tx.nodeName();
+            return !tx.isReadOnly() && tx.hasCommitPartition() && opNode != 
null ? opNode : tx.nodeName();

Review Comment:
   It wasn't imlemented yet. I've created a ticket:
   https://issues.apache.org/jira/browse/IGNITE-25956
   



##########
modules/client/src/main/java/org/apache/ignite/internal/client/tx/DirectTxUtils.java:
##########
@@ -256,7 +256,7 @@ public static CompletableFuture<ClientChannel> 
resolveChannel(
         String opNode = pm == null ? null : pm.nodeConsistentId();
 
         if (tx != null) {
-            return tx.hasCommitPartition() && opNode != null ? opNode : 
tx.nodeName();
+            return !tx.isReadOnly() && tx.hasCommitPartition() && opNode != 
null ? opNode : tx.nodeName();

Review Comment:
   It wasn't implemented yet. I've created a ticket:
   https://issues.apache.org/jira/browse/IGNITE-25956
   



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to