alei78910 opened a new issue, #25744:
URL: https://github.com/apache/shardingsphere/issues/25744
Upgrade from shardingsphere-proxy:5.3.2 self-compiled master branch to
apache-shardingsphere-5.3.3-SNAPSHOT, execute
```
CREATE READWRITE_SPLITTING RULE group_messagecenter (
WRITE_STORAGE_UNIT=ds_write_messagecenter,
READ_STORAGE_UNITS(ds_read_messagecenter),
TYPE(NAME="random")
);
```
error message is as follows:
```
ERROR 30000 (HY000): Unknown exception: Cannot invoke
"org.apache.shardingsphere.readwritesplitting.api.transaction.TransactionalReadQueryStrategy.name()"
because the return value of "org.apache.shardingsphere.
readwritesplitting.api.rule.ReadwriteSplittingDataSourceRuleConfiguration.getTransactionalReadQueryStrategy()"
is null
```
Corresponding to the 62 lines in the
features\readwrite-splitting\core\src\main\java\org\apache\shardingsphere\readwritesplitting\yaml\swapper\YamlReadwriteSplittingRuleConfigurationSwapper.java
file
result.setTransactionalReadQueryStrategy(dataSourceRuleConfig.getTransactionalReadQueryStrategy
().name());
--
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]