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/04/14 11:31:27 UTC
[GitHub] [incubator-shardingsphere] cws1981 opened a new issue #5181: nacos
modification configuration is not synchronized to the service
cws1981 opened a new issue #5181: nacos modification configuration is not synchronized to the service
URL: https://github.com/apache/incubator-shardingsphere/issues/5181
## Bug Report
### Which version of ShardingSphere did you use?
4.0.1
### Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-JDBC
### Expected behavior
I modify the Data ID of nacos: .shardingDataSource.config.schema.logic_db.rule content
For example: actualDataNodes hope to change the configuration of the shard table
### Actual behavior
nothing happened
### Reason analyze (If you can)
not watch the key .shardingDataSource.config.schema.logic_db.rule
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
modify the Data ID of nacos: .shardingDataSource.config.schema.logic_db.rule content
### 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
With regards,
Apache Git Services
[GitHub] [incubator-shardingsphere] dongzl commented on issue #5181: nacos
modification configuration is not synchronized to the service
Posted by GitBox <gi...@apache.org>.
dongzl commented on issue #5181: nacos modification configuration is not synchronized to the service
URL: https://github.com/apache/incubator-shardingsphere/issues/5181#issuecomment-613859590
Hi @cws1981 , 4.0.1 version doesn't support nacos very perfectly, you can use Zookeeper for RegistryCenter.
we will support nacos more perfectly in the next version.
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [incubator-shardingsphere] cws1981 removed a comment on issue
#5181: nacos modification configuration is not synchronized to the service
Posted by GitBox <gi...@apache.org>.
cws1981 removed a comment on issue #5181: nacos modification configuration is not synchronized to the service
URL: https://github.com/apache/incubator-shardingsphere/issues/5181#issuecomment-613405105
> Plz show your config here.
OK tomorrow😅
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [incubator-shardingsphere] cws1981 commented on issue #5181: nacos
modification configuration is not synchronized to the service
Posted by GitBox <gi...@apache.org>.
cws1981 commented on issue #5181: nacos modification configuration is not synchronized to the service
URL: https://github.com/apache/incubator-shardingsphere/issues/5181#issuecomment-613405105
> Plz show your config here.
OK tomorrow😅
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [incubator-shardingsphere] cws1981 opened a new issue #5181: nacos
modification configuration is not synchronized to the service
Posted by GitBox <gi...@apache.org>.
cws1981 opened a new issue #5181: nacos modification configuration is not synchronized to the service
URL: https://github.com/apache/incubator-shardingsphere/issues/5181
## Bug Report
### Which version of ShardingSphere did you use?
4.0.1
### Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-JDBC
### Expected behavior
I modify the Data ID of nacos: .shardingDataSource.config.schema.logic_db.rule content
For example: actualDataNodes hope to change the configuration of the shard table
### Actual behavior
nothing happened
### Reason analyze (If you can)
not watch the key .shardingDataSource.config.schema.logic_db.rule
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
modify the Data ID of nacos: .shardingDataSource.config.schema.logic_db.rule content
### Example codes for reproduce this issue (such as a github link).
the spring xml
```
<orchestraion:registry-center id="regCenter" type="nacos" server-lists="localhost:8848" namespace="728acf9f-34fb-42fd-af25-984de5686535" operation-timeout-milliseconds="3000" max-retries="3"/>
<orchestraion:sharding-data-source id="shardingDataSource" registry-center-ref="regCenter" overwrite="false"/>
```
the nacos dataId:.shardingDataSource.config.schema.logic_db.rule content:
```
tables:
log_process:
actualDataNodes: dataSource.log_process,dataSource.log_process_2020_$->{4..12}
keyGenerator:
column: id
props:
worker.id: '421'
type: SNOWFLAKE
logicTable: log_process
tableStrategy:
standard:
preciseAlgorithmClassName: com.xxx.base.shardingjdbc.shardingAlgorithm.IDPrecise
shardingColumn: id
```
I found that modifying .shardingDataSource.config.props is effective,but shardingDataSource.config.schema.logic_db.rule
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [incubator-shardingsphere] cws1981 closed issue #5181: nacos
modification configuration is not synchronized to the service
Posted by GitBox <gi...@apache.org>.
cws1981 closed issue #5181: nacos modification configuration is not synchronized to the service
URL: https://github.com/apache/incubator-shardingsphere/issues/5181
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [incubator-shardingsphere] cws1981 commented on issue #5181: nacos
modification configuration is not synchronized to the service
Posted by GitBox <gi...@apache.org>.
cws1981 commented on issue #5181: nacos modification configuration is not synchronized to the service
URL: https://github.com/apache/incubator-shardingsphere/issues/5181#issuecomment-613863539
> Hi @cws1981 , 4.0.1 version doesn't support nacos very perfectly, you can use Zookeeper for RegistryCenter.
>
> we will support nacos more perfectly in the next version.
Thank you for your answer, I see nacos in the source code, I think it can be used, okay I will use zookeeper instead, is it necessary to deploy sharing-ui to operate?
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [shardingsphere] littlehui commented on issue #5181: nacos modification configuration is not synchronized to the service
Posted by GitBox <gi...@apache.org>.
littlehui commented on issue #5181:
URL: https://github.com/apache/shardingsphere/issues/5181#issuecomment-650731364
> Hi @cws1981 , 4.0.1 version doesn't support nacos very perfectly, you can use Zookeeper for RegistryCenter.
>
> we will support nacos more perfectly in the next version.
Current version this problem solved?
----------------------------------------------------------------
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] [incubator-shardingsphere] kimmking commented on issue #5181: nacos
modification configuration is not synchronized to the service
Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #5181: nacos modification configuration is not synchronized to the service
URL: https://github.com/apache/incubator-shardingsphere/issues/5181#issuecomment-613403113
Plz show your config here.
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [incubator-shardingsphere] cws1981 closed issue #5181: nacos
modification configuration is not synchronized to the service
Posted by GitBox <gi...@apache.org>.
cws1981 closed issue #5181: nacos modification configuration is not synchronized to the service
URL: https://github.com/apache/incubator-shardingsphere/issues/5181
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [shardingsphere] littlehui edited a comment on issue #5181: nacos modification configuration is not synchronized to the service
Posted by GitBox <gi...@apache.org>.
littlehui edited a comment on issue #5181:
URL: https://github.com/apache/shardingsphere/issues/5181#issuecomment-650731364
> Hi @cws1981 , 4.0.1 version doesn't support nacos very perfectly, you can use Zookeeper for RegistryCenter.
>
> we will support nacos more perfectly in the next version.
Current version this problem solved?
I mean 4.1.* version
----------------------------------------------------------------
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] [incubator-shardingsphere] dongzl commented on issue #5181: nacos
modification configuration is not synchronized to the service
Posted by GitBox <gi...@apache.org>.
dongzl commented on issue #5181: nacos modification configuration is not synchronized to the service
URL: https://github.com/apache/incubator-shardingsphere/issues/5181#issuecomment-613862582
duplicate #3361
----------------------------------------------------------------
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
With regards,
Apache Git Services