txm119161336 commented on issue #2490:
URL:
https://github.com/apache/shardingsphere-elasticjob/issues/2490#issuecomment-4429470534
Thank you for your reply. Currently ,i have not committed any change for the
project, because i dont know if what i said is correct or not. That's why i ask
your guys to confirm the business logic.According to the current codes, the
misfire will be triggered twice. One of which is as below
> execute(jobConfig, shardingContexts, ExecutionSource.NORMAL_TRIGGER); //
this is the first time
the other one of which is as below
> while
(jobFacade.isExecuteMisfired(shardingContexts.getShardingItemParameters().keySet()))
{
>
jobFacade.clearMisfire(shardingContexts.getShardingItemParameters().keySet());
> execute(jobConfig, shardingContexts, ExecutionSource.MISFIRE); //this is
the second time
> }
--
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]