tain198127 commented on code in PR #18618:
URL: https://github.com/apache/shardingsphere/pull/18618#discussion_r906950472
##########
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/ral/common/updatable/AlterTransactionRuleHandler.java:
##########
@@ -47,6 +47,8 @@ private void replaceNewRule(final ContextManager
contextManager) {
globalRules.removeIf(each -> each instanceof TransactionRule);
Map<String, ShardingSphereDatabase> databases =
contextManager.getMetaDataContexts().getMetaData().getDatabases();
TransactionRule transactionRule = new
TransactionRule(toBeAlteredRuleConfig, databases);
+ //need add InstanceContext before call getResources
Review Comment:
fixed
--
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]