You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/06/02 09:35:11 UTC

[GitHub] [shardingsphere] natehuangting opened a new issue, #18154: In non-cluster mode, you need to add nodes to ComputeNodeInstance at startup

natehuangting opened a new issue, #18154:
URL: https://github.com/apache/shardingsphere/issues/18154

   ## Feature Request
   ### Describe the feature you would like.
   In Standalone mode, I want to use distsql to update xaRecoverNodes, but there is an exception.
   
   ```mysql
   mysql> alter instance '027128ec-0df8-c9e8-28d0-a13ebfdbb611' SET XA_RECOVERY_NODES = 'xxx@3380';
   ERROR 1997 (C1997): Runtime exception: ['027128ec-0df8-c9e8-28d0-a13ebfdbb611' does not exist]
   
   
   [ERROR] 2022-06-02 17:33:27.748 [Connection-1-ThreadExecutor] o.a.s.p.f.c.CommandExecutorTask - Exception occur: 
   java.lang.UnsupportedOperationException: '027128ec-0df8-c9e8-28d0-a13ebfdbb611' does not exist
   	at org.apache.shardingsphere.proxy.backend.text.distsql.ral.common.updatable.AlterInstanceHandler.setXaRecoveryId(AlterInstanceHandler.java:53)
   	at org.apache.shardingsphere.proxy.backend.text.distsql.ral.common.updatable.AlterInstanceHandler.update(AlterInstanceHandler.java:41)
   	at org.apache.shardingsphere.proxy.backend.text.distsql.ral.common.updatable.AlterInstanceHandler.update(AlterInstanceHandler.java:34)
   	at org.apache.shardingsphere.proxy.backend.text.distsql.ral.UpdatableRALBackendHandler.handle(UpdatableRALBackendHandler.java:33)
   	at org.apache.shardingsphere.proxy.backend.text.distsql.ral.RALBackendHandler.execute(RALBackendHandler.java:47)
   	at org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:97)
   	at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:106)
   	at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:76)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   ```
   
   I hope that in non-cluster mode, the use of ComputerNodeInstance also needs to be supported.
   


-- 
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-unsubscribe@shardingsphere.apache.org.apache.org

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


[GitHub] [shardingsphere] natehuangting closed issue #18154: In non-cluster mode, you need to add nodes to ComputeNodeInstance at startup

Posted by GitBox <gi...@apache.org>.
natehuangting closed issue #18154: In non-cluster mode, you need to add nodes to ComputeNodeInstance at startup
URL: https://github.com/apache/shardingsphere/issues/18154


-- 
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-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] natehuangting closed issue #18154: In non-cluster mode, you need to add nodes to ComputeNodeInstance at startup

Posted by GitBox <gi...@apache.org>.
natehuangting closed issue #18154: In non-cluster mode, you need to add nodes to ComputeNodeInstance at startup
URL: https://github.com/apache/shardingsphere/issues/18154


-- 
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-unsubscribe@shardingsphere.apache.org

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