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 2020/12/16 02:31:53 UTC

[GitHub] [shardingsphere-elasticjob] kaihekaihe opened a new issue #1777: Feature failover works after zk session timeout,How to decrease consuming time of the process。

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


   I know decreasing zk session timeout can work.
   
   Decreasing the inteval of reconcile service do not work, because it also depends on the zk session timeout. Am i right?
   


----------------------------------------------------------------
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 closed issue #1777: Feature failover works after zk session timeout,How to decrease consuming time of the process。

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #1777:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1777


   


----------------------------------------------------------------
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] kaihekaihe commented on issue #1777: Feature failover works after zk session timeout,How to decrease consuming time of the process。

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


   According to the code.shards belongs to offline servers can only be found after zk session timeout.
   
   If server is offline,but temprary node does not disappear,ReconcileService can not find the offline server.


----------------------------------------------------------------
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 #1777: Feature failover works after zk session timeout,How to decrease consuming time of the process。

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


   `ReconcileService` works on situation that doesn't need sharding but some shards belongs to offline servers. The probability of that situation is very small.


----------------------------------------------------------------
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] kaihekaihe commented on issue #1777: Feature failover works after zk session timeout,How to decrease consuming time of the process。

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


   @TeslaCN 
   Adding shutdown hook to delete the temprary  instance node immediately,other executors will be notified more quickly which does not rely on session timeout


----------------------------------------------------------------
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 #1777: Feature failover works after zk session timeout,How to decrease consuming time of the process。

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


   I don't think `ReconcileService` is used for this situation. Normally, when server offline, listener will be aware of offline event and set reshard flag. `ReconcileService` works in extreme cases.


----------------------------------------------------------------
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] kaihekaihe edited a comment on issue #1777: Feature failover works after zk session timeout,How to decrease consuming time of the process。

Posted by GitBox <gi...@apache.org>.
kaihekaihe edited a comment on issue #1777:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1777#issuecomment-785532596


   @TeslaCN 
   I have one suggestion. 
   Adding shutdown hook to delete the temprary  instance node immediately,other executors will be notified more quickly which does not rely on session timeout


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