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/09/27 03:51:10 UTC

[GitHub] [shardingsphere-elasticjob] jjfly10086 opened a new issue, #2126: Server startup with simpleTrigger not execute

jjfly10086 opened a new issue, #2126:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2126

   issue describe:
   1.use version: elasticjob-lite-core:3.0.1
   2.use reflection to overrite JobScheduleController like this:
   ![企业微信截图_16642505042786](https://user-images.githubusercontent.com/10335289/192427488-5006ad31-122a-4019-b311-c9dabfb55bfb.png)
   ![企业微信截图_16642502473008](https://user-images.githubusercontent.com/10335289/192427097-b419aab4-f286-4cd1-8280-d65a19be985f.png)
   ![企业微信截图_16642502161260](https://user-images.githubusercontent.com/10335289/192427130-8de484a9-0834-4f01-be83-052a58e6e186.png)
   3.use totalShardingCount = 1 and when single server node startup, all 20 jobs should execute immediately, but always execute part of 20 jobs. when i debug the source code , i found current server has no shardingItems:
   ![image](https://user-images.githubusercontent.com/10335289/192427778-d2c1a8ec-5f5a-4283-bde6-a61e114d1bf2.png)
   how to resolve 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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

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


[GitHub] [shardingsphere-elasticjob] jjfly10086 closed issue #2126: Server startup with simpleTrigger not execute

Posted by GitBox <gi...@apache.org>.
jjfly10086 closed issue #2126: Server startup with simpleTrigger not execute
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2126


-- 
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-elasticjob] jjfly10086 commented on issue #2126: Server startup with simpleTrigger not execute

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

   > issue describe: 1.use version: elasticjob-lite-core:3.0.1 2.use reflection to overrite JobScheduleController like this: ![企业微信截图_16642505042786](https://user-images.githubusercontent.com/10335289/192427488-5006ad31-122a-4019-b311-c9dabfb55bfb.png) ![企业微信截图_16642502473008](https://user-images.githubusercontent.com/10335289/192427097-b419aab4-f286-4cd1-8280-d65a19be985f.png) ![企业微信截图_16642502161260](https://user-images.githubusercontent.com/10335289/192427130-8de484a9-0834-4f01-be83-052a58e6e186.png) 3.use totalShardingCount = 1 and when single server node startup, all 20 jobs should execute immediately, but always execute part of 20 jobs. when i debug the source code , i found current server has no shardingItems: ![image](https://user-images.githubusercontent.com/10335289/192427778-d2c1a8ec-5f5a-4283-bde6-a61e114d1bf2.png) how to resolve 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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere-elasticjob] jjfly10086 commented on issue #2126: Server startup with simpleTrigger not execute

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

   @TeslaCN 


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