sandynz opened a new pull request #14001:
URL: https://github.com/apache/shardingsphere/pull/14001


   Fixes #13875 part 7.
   
   Changes proposed in this pull request:
   - Add ModeScheduleContext and integrate with ContextManager. Design for MGR 
scheduling requirement for now.
   
   Currently, not all mode type is supported:
   - Supported : "Cluster" mode type, "ZooKeeper" repository type
   - Unsupported : "Standalone" mode type, "Memory" mode type and other  
repository type in "Cluster" mode
   
   Sharing registry center API of ShardingSphere and ElasticJob is considerred, 
API:
   - ShardingSphere : PersistRepository, ClusterPersistRepository, 
StandalonePersistRepository
   - ElasticJob : CoordinatorRegistryCenter
   They are so different to use adapter design pattern.
   
   There're still some `TODO` comment in `ModeScheduleContext`, it'll be 
refactored later. Seems it need to refactor module dependency (`mode` has no 
api module to depend on).
   


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


Reply via email to