roodkcab opened a new issue #14262:
URL: https://github.com/apache/shardingsphere/issues/14262
## Bug Report
### Which version of ShardingSphere did you use?
master branch
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
proxy
### Expected behavior
`xa recover` should work when used with encrypt
### Actual behavior
exception occured
```
[ERROR] 2021-12-23 15:50:37.736 [Connection-3-ThreadExecutor]
o.a.s.p.f.c.CommandExecutorTask - Exception occur:
java.lang.ClassCastException:
org.apache.shardingsphere.encrypt.rule.EncryptRule cannot be cast to
org.apache.shardingsphere.infra.merge.engine.decorator.impl.TransparentRule
at
org.apache.shardingsphere.infra.merge.engine.decorator.impl.TransparentResultDecorator.decorate(TransparentResultDecorator.java:29)
at
org.apache.shardingsphere.infra.merge.MergeEngine.decorate(MergeEngine.java:114)
at
org.apache.shardingsphere.infra.merge.MergeEngine.merge(MergeEngine.java:81)
at
org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngine.mergeQuery(DatabaseCommunicationEngine.java:241)
at
org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngine.processExecuteQuery(DatabaseCommunicationEngine.java:208)
at
org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngine.execute(DatabaseCommunicationEngine.java:164)
at
org.apache.shardingsphere.proxy.backend.text.data.impl.SchemaAssignedDatabaseBackendHandler.execute(SchemaAssignedDatabaseBackendHandler.java:56)
at
org.apache.shardingsphere.proxy.backend.text.transaction.TransactionXAHandler.execute(TransactionXAHandler.java:82)
at
org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:62)
at
org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:96)
at
org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:69)
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
```
--
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]