ExploreHeart commented on issue #1857:
URL:
https://github.com/apache/shardingsphere-elasticjob/issues/1857#issuecomment-1873987443
### RegistryCenterConnectionStateListener.java and
InstanceShutdownStatusJobListener.java add Logs;
### There is a possibility that a shutdown is triggered when a temporary
node is deleted due to session expiration.
**20:32:17.898 [Curator-ConnectionStateManager-0] INFO
com.dangdang.ddframe.job.lite.internal.listener.RegistryCenterConnectionStateListener
- jobName:myJob start pauseJob**
20:32:17.898 [nioEventLoopGroup-4-1] DEBUG org.apache.zookeeper.ClientCnxn -
Reading reply session id: 0x10157a410ab0036, packet:: clientPath:null
serverPath:null finished:false header:: 2,3 replyHeader:: 2,3571,-101
request:: '/myJob/myJob/instances/10.30.65.185@-@22420,F response::
**20:32:17.898 [Curator-ConnectionStateManager-0] INFO
com.dangdang.ddframe.job.lite.internal.listener.RegistryCenterConnectionStateListener
- jobName:myJob end pauseJob**
20:32:17.898 [myJob_QuartzSchedulerThread] DEBUG
org.quartz.core.QuartzSchedulerThread - batch acquisition of 0 triggers
**20:32:17.898 [Curator-TreeCache-0] INFO
com.dangdang.ddframe.job.lite.internal.instance.ShutdownListenerManager - start
shutdownInstance jobName:myJob, path: /myJob/instances/10.30.65.185@-@22420,
data:**
20:32:17.898 [Curator-ConnectionStateManager-0] DEBUG
org.apache.curator.framework.recipes.cache.TreeCache - publishEvent:
TreeCacheEvent{type=CONNECTION_LOST, data=null}
**20:32:17.899 [Curator-ConnectionStateManager-0] INFO
com.dangdang.ddframe.job.lite.internal.listener.RegistryCenterConnectionStateListener
- jobName:myJob client state changed to LOST**
### Steps to reproduce the behavior
org.apache.zookeeper.ClientCnxn.SendThread#sendPing add breakpoints to
simulate session expiration and trigger temporary node deletion. There is a
possibility that this problem recurs.
@TeslaCN
--
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]