menghaoranss opened a new issue #11958:
URL: https://github.com/apache/shardingsphere/issues/11958
Method `init` in `ClusterContextManager.java`
```
public void init(final MetaDataContexts metaDataContexts, final
TransactionContexts transactionContexts) {
this.metaDataContexts = metaDataContexts;
this.transactionContexts = transactionContexts;
ShardingSphereEventBus.getInstance().register(this);
disableDataSources();
persistMetaData();
lock = createShardingSphereLock(registryCenter.getRepository());
registryCenter.onlineInstance(metaDataContexts.getAllSchemaNames());
}
```
If `overwrite` is configured as `false` MetaData should be loaded from
registry center.
--
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]