colin0000007 opened a new issue #1983: URL: https://github.com/apache/shardingsphere-elasticjob/issues/1983
I read the elasticjob-lite-core source code through the official tutorial demo code recently. when i read the resharding part, i found that the ShardingTotalCountChangedJobListener and ListenServersChangedJobListener will set a /jobName/leader/sharding/necessary flag when /jobName/instances node or /jobName/server node or config node changed, but the listener only set a flag which indicates it need to reshard. I guess the /jobName/sharding/necessary node adding will trigger to call ShardingService.shardingIfNecessary(). yes, the getShardingContexts function called shardingIfNecessary(). But I never find the code where the LiteJobFacade.getShardingContexts() is called. ElasticJob version:3.0.0 -- 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]
