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 2020/11/10 12:57:37 UTC

[GitHub] [shardingsphere] Zzshuo opened a new issue #8122: inventoryDataScaling Multiple threads migrating block

Zzshuo opened a new issue #8122:
URL: https://github.com/apache/shardingsphere/issues/8122


   ## Bug Report
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   5.0
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-scaling
   
   ### Expected behavior
   Multiple threads migrating together
   
   ### Actual behavior
   inventoryDataScaling Multiple threads migrating block
   
   ### Reason analyze (If you can)
     waitForResult(future) method blocked on the scalingTasks foreach start
   
   ![image](https://user-images.githubusercontent.com/12946820/98673572-7b8d7e80-2392-11eb-9fea-e46bc8263150.png)
   
   ![image](https://user-images.githubusercontent.com/12946820/98673570-7b8d7e80-2392-11eb-83a8-5b6ab18fd154.png)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   use shardingsphere-ui scaling table. when conurrency>1 ,It will occur,next conurrency start after prev conurrency finished.
   ### Example codes for reproduce this issue (such as a github link). 
   


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

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



[GitHub] [shardingsphere] avalon5666 commented on issue #8122: inventoryDataScaling Multiple threads migrating block

Posted by GitBox <gi...@apache.org>.
avalon5666 commented on issue #8122:
URL: https://github.com/apache/shardingsphere/issues/8122#issuecomment-734629655


   We removed TaskGroup  #8368.
   Thank you for your advice!
   
   


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

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



[GitHub] [shardingsphere] avalon5666 commented on issue #8122: inventoryDataScaling Multiple threads migrating block

Posted by GitBox <gi...@apache.org>.
avalon5666 commented on issue #8122:
URL: https://github.com/apache/shardingsphere/issues/8122#issuecomment-724732478


   InventoryDataScalingTask serial execute in the InventoryDataScalingTaskGroup, and conurrency execute between InventoryDataScalingTaskGroup.


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

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



[GitHub] [shardingsphere] Zzshuo commented on issue #8122: inventoryDataScaling Multiple threads migrating block

Posted by GitBox <gi...@apache.org>.
Zzshuo commented on issue #8122:
URL: https://github.com/apache/shardingsphere/issues/8122#issuecomment-725812059


   > InventoryDataScalingTask serial execute in the InventoryDataScalingTaskGroup, and conurrency execute between InventoryDataScalingTaskGroup.
   
   I think this is a bug. Because in 4.1.1 ScalingTask can  parallel execute in TaskGroup. We actually want to do it in parallel as well. Otherwise,InventoryDataScalingTaskGroup doesn't make any difference. just can remove  InventoryDataScalingTaskGroup only use InventoryDataScalingTask.


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

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



[GitHub] [shardingsphere] avalon5666 closed issue #8122: inventoryDataScaling Multiple threads migrating block

Posted by GitBox <gi...@apache.org>.
avalon5666 closed issue #8122:
URL: https://github.com/apache/shardingsphere/issues/8122


   


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

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



[GitHub] [shardingsphere] avalon5666 commented on issue #8122: inventoryDataScaling Multiple threads migrating block

Posted by GitBox <gi...@apache.org>.
avalon5666 commented on issue #8122:
URL: https://github.com/apache/shardingsphere/issues/8122#issuecomment-726429304


   For easier thread management, we refactored.


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

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