txm119161336 commented on issue #2490:
URL:
https://github.com/apache/shardingsphere-elasticjob/issues/2490#issuecomment-4824742872
Could you help me on this confusion. An hourly running job , let's say it
starts running in 12:00 , it executes very long . It ends in 13:10. Then the
misfire process will be triggered, it exeutes the normal process like below
`execute(jobConfig, shardingContexts, ExecutionSource.NORMAL_TRIGGER); //
this is the first time
`
then it will trigger the misfire porcess as below
```
while
(jobFacade.isExecuteMisfired(shardingContexts.getShardingItemParameters().keySet()))
{
jobFacade.clearMisfire(shardingContexts.getShardingItemParameters().keySet());
execute(jobConfig, shardingContexts, ExecutionSource.MISFIRE); //this is the
second time
}
```
It seems it executes twice for on misfire process . It confused me a lot .
Could you help me explain why it will be like this
--
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]