Y-sir commented on issue #34208:
URL:
https://github.com/apache/shardingsphere/issues/34208#issuecomment-2566081959
这个问题我也发现了,问题点在于DatabaseRulesBuilder中的getMissedDefaultRuleBuilderMap方法中创建的SingleRuleConfiguration对象中的tables为空,没有数据,然后在SingleTableDataNodeLoader中的loadSpecifiedDataNodes方法中的loadSpecifiedDataNode中,如图1中的箭头所指的时候,就结束了。我尝试把图2中的loadSpecifiedDataNodes中的if
(!singleNode.isEmpty()) {注释掉,把原来的singleNode对象换为entry.getValue()放进去就可以了。
Figure 1

Figure 2

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