YANGJINJUE opened a new issue #1857:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1857
### use 3.0.0-alpha
### project: ElasticJob-Lite
### Expected behavior
the job will recovery when the zookeeper cluster recovery
### Actual behavior
there is a job shutdown by self when the zookeeper cluster recovery
### Reason analyze (If you can)
I guess the class ShutdownListenerManager have a bug at line 57
`protected void dataChanged(final String path, final Type eventType, final
String data) {
if (!JobRegistry.getInstance().isShutdown(jobName) &&
!JobRegistry.getInstance().getJobScheduleController(jobName).isPaused()
&& isRemoveInstance(path, eventType) &&
!isReconnectedRegistryCenter()) {
schedulerFacade.shutdownInstance();
}
}`
### Steps to reproduce the behavior.
multiple kill the zookeeper cluster and recovery
### Example codes for reproduce this issue (such as a github link).
--
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]