This is an automated email from the ASF dual-hosted git repository.
lujingshang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 9ab4b2e Persist rule configuration for RDL (#8945)
9ab4b2e is described below
commit 9ab4b2eea0a745cbb5deb5a17449e7d785c856e2
Author: Haoran Meng <[email protected]>
AuthorDate: Fri Jan 8 14:16:35 2021 +0800
Persist rule configuration for RDL (#8945)
---
.../org/apache/shardingsphere/governance/core/config/ConfigCenter.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/shardingsphere-governance/shardingsphere-governance-core/src/main/java/org/apache/shardingsphere/governance/core/config/ConfigCenter.java
b/shardingsphere-governance/shardingsphere-governance-core/src/main/java/org/apache/shardingsphere/governance/core/config/ConfigCenter.java
index fc5750f..56b699f 100644
---
a/shardingsphere-governance/shardingsphere-governance-core/src/main/java/org/apache/shardingsphere/governance/core/config/ConfigCenter.java
+++
b/shardingsphere-governance/shardingsphere-governance-core/src/main/java/org/apache/shardingsphere/governance/core/config/ConfigCenter.java
@@ -131,7 +131,8 @@ public final class ConfigCenter {
*/
@Subscribe
public synchronized void renew(final RuleConfigurationsPersistEvent event)
{
- cacheRuleConfigurations(event.getSchemaName(),
event.getRuleConfigurations());
+ //TODO
+ persistRuleConfigurations(event.getSchemaName(),
event.getRuleConfigurations());
}
/**