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 2021/09/15 10:20:41 UTC

[GitHub] [shardingsphere] sandynz opened a new pull request #12451: Fix Issue#12449 : Scaling job does not stop properly if exception thrown before inventory task start

sandynz opened a new pull request #12451:
URL: https://github.com/apache/shardingsphere/pull/12451


   Fixes #12449.
   
   Changes proposed in this pull request:
   - Stop job if exception thrown before inventory task start
   - `dumper` might be null in inventory and incremental task `onFailure`
   


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



[GitHub] [shardingsphere] sandynz closed pull request #12451: Fix Issue#12449 : Scaling job does not stop properly if exception thrown before inventory task start

Posted by GitBox <gi...@apache.org>.
sandynz closed pull request #12451:
URL: https://github.com/apache/shardingsphere/pull/12451


   


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



[GitHub] [shardingsphere] sandynz commented on pull request #12451: Fix Issue#12449 : Scaling job does not stop properly if exception thrown before inventory task start

Posted by GitBox <gi...@apache.org>.
sandynz commented on pull request #12451:
URL: https://github.com/apache/shardingsphere/pull/12451#issuecomment-922155255


   Two questions to verify:
   - If job failed in a proxy instance, whether need to stop job in other proxy instances (in proxy cluster) immediately
   - If `ScalingJob.execute` (in `OneOffJobBootstrap`) just throw exception, looks quartz will retry 150 times quickly, maybe we need to wait completion event from ElasticJob, but not just stop job on exception caught
   
   I'll continue to do it next week.
   


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



[GitHub] [shardingsphere] sandynz commented on pull request #12451: Fix Issue#12449 : Scaling job does not stop properly if exception thrown before inventory task start

Posted by GitBox <gi...@apache.org>.
sandynz commented on pull request #12451:
URL: https://github.com/apache/shardingsphere/pull/12451#issuecomment-1010619716


   There're too much conflicts now.
   
   It will be closed now, and will be started after scaling job lock done (only one proxy instance could run scaling job in proxy cluster).
   


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