terrymanu opened a new issue #6742:
URL: https://github.com/apache/shardingsphere/issues/6742


   The current metadata loader module use `RuleMetaDataLoader` and 
`RuleMetaDataDecorator` to load metadata which is not clear.
   RuleMetaDataLoader will load the metadata for sharding and encrypt, the 
RuleMetaDataDecorator will decorate them too.
   
   It is better to consider about use a clear way to load meta data. My idea is:
   
   1. Load all rules and recognize all rules related data nodes.
   2. Load all un-configured data nodes as initial meta datas.
   3. Load (if not loaded) or decorate (if load by previous rules) configured 
data nodes (can exclude duplicated data nodes such as sharding rule)
   
   Any suggesstions?


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to