You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/02/07 10:39:59 UTC

[GitHub] [shardingsphere-elasticjob] guanziao opened a new issue #1829: ReconcileService

guanziao opened a new issue #1829:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1829


   I have a question about ReconcileService.
   The job config 'reconcileIntervalMinutes' describe in user manual is:
   
   In a distributed system, due to network, clock and other reasons, ZooKeeper may be inconsistent with the actual running job. This inconsistency cannot be completely avoided through positive verification. It is necessary to start another thread to periodically calibrate the consistency between the registry center and the job status, that is, to maintain the final consistency of ElasticJob.
   
   But , the default value is 10 minutes. Is it too long for checking the environment ?
   Furthermore, in ReconcileService it only checks the sharding when hasShardingInfoInOfflineServers() is true.  
   So, I thinks the function in ReconcileService is not matching the description in user manual.
   
   I don't know if I'm wrong. 
   Thanks
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #1829: ReconcileService

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1829:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1829#issuecomment-775113410


   Maybe the describe is too abstract. Under normal conditions, `sharding/necessary` flag will be set when any instance was offline. I think the probability of `hasShardingInfoInOfflineServers` is very small, so default 10 minutes is enough. You may specify a smaller value for your scenarios.


----------------------------------------------------------------
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:
users@infra.apache.org