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/04/27 07:56:59 UTC

[GitHub] [shardingsphere] asdxiaoqex opened a new issue, #17146: There was a problem upgrading the version 4.1.1 ~5.x

asdxiaoqex opened a new issue, #17146:
URL: https://github.com/apache/shardingsphere/issues/17146

   ![image](https://user-images.githubusercontent.com/50010140/165469522-bc0129e1-028a-494b-87f8-bcf181ac099b.png)
   
   In the old version 4.x, I got the split table rule through datasource, and then modified it with reflection to achieve dynamic capacity expansion.
   
   
   
   In the new version5.x, I can't find a place to get the sharingrule. I hope you can prompt where you can reference.
   ![image](https://user-images.githubusercontent.com/50010140/165469741-93735924-337d-441c-84a1-70e67401950e.png)
   Or there are other APIs that can provide better dynamic capacity expansion table rules. Please give me some guidance.


-- 
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] RaigorJiang commented on issue #17146: There was a problem upgrading the version 4.1.1 ~5.x

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang commented on issue #17146:
URL: https://github.com/apache/shardingsphere/issues/17146#issuecomment-1407575491

   @asdxiaoqex  I think you can refer to #16725, and a better way is to execute DistSQL through Proxy for maintenance.
   


-- 
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] github-actions[bot] commented on issue #17146: There was a problem upgrading the version 4.1.1 ~5.x

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #17146:
URL: https://github.com/apache/shardingsphere/issues/17146#issuecomment-1272349895

   Hello , this issue has not received a reply for several days.
   This issue is supposed to be closed.


-- 
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] RaigorJiang closed issue #17146: There was a problem upgrading the version 4.1.1 ~5.x

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang closed issue #17146: There was a problem upgrading the version 4.1.1 ~5.x
URL: https://github.com/apache/shardingsphere/issues/17146


-- 
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] TeslaCN commented on issue #17146: There was a problem upgrading the version 4.1.1 ~5.x

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

   Hi @asdxiaoqex 
   You may try `getRuleMetaData().findRule(ShardingRule.class)`.
   
   https://github.com/apache/shardingsphere/blob/dab914a6edac43f82a60be00280aa6597d5bda74/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/rule/ShardingSphereRuleMetaData.java#L94-L97


-- 
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] asdxiaoqex commented on issue #17146: There was a problem upgrading the version 4.1.1 ~5.x

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

   因为我现在是把一些由日期动态创建的路由 也加载进去 因为每天都会 新增新的路由表 旧版本可以通过上面那个shardingRule反射去改,新版 没找到


-- 
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] asdxiaoqex commented on issue #17146: There was a problem upgrading the version 4.1.1 ~5.x

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

   > Hi @asdxiaoqex You may try `getRuleMetaData().findRule(ShardingRule.class)`.
   > 
   > https://github.com/apache/shardingsphere/blob/dab914a6edac43f82a60be00280aa6597d5bda74/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/rule/ShardingSphereRuleMetaData.java#L94-L97
   
   is empty 


-- 
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] asdxiaoqex commented on issue #17146: There was a problem upgrading the version 4.1.1 ~5.x

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

   我是想获取到 表路由的配置 然后修改他


-- 
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] github-actions[bot] closed issue #17146: There was a problem upgrading the version 4.1.1 ~5.x

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #17146: There was a problem upgrading the version 4.1.1 ~5.x
URL: https://github.com/apache/shardingsphere/issues/17146


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