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 2022/10/26 08:40:09 UTC

[GitHub] [shardingsphere-elasticjob] csz5667757 commented on issue #2142: Using AbstractDistributeOnceElasticJobListener,why every instance execute these two methods : doBeforeJobExecutedAtLastStarted 、doAfterJobExecutedAtLastCompleted?

csz5667757 commented on issue #2142:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2142#issuecomment-1291695868

   use **OneOffJobBootStrap** and 
   my **config** is 
   JobConfiguration.newBuilder("job",8).failover(true).overwrite(true).jobListener("listener").build();
   
   **final result**
   node1: log print in doBeforeJobExecutedAtLastStarted 、doAfterJobExecutedAtLastCompleted
   node2: log print in doBeforeJobExecutedAtLastStarted 、doAfterJobExecutedAtLastCompleted


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org