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/11/02 10:06:09 UTC
[GitHub] [shardingsphere] sandynz commented on issue #13408: DATANODES changes is not saved in rule cache - tables - actualDataNodes when running ALTER SHARDING TABLE RULE DistSQL
sandynz commented on issue #13408:
URL: https://github.com/apache/shardingsphere/issues/13408#issuecomment-957289917
If `scaling` is not enabled in `server.yaml`, then rule cache is disabled too, changes will be persited in `/metadata/sharding_db/rules`, it works.
After runnning DistSQLs, the same as reproduce description, part of `rules`:
```
tables:
t_order:
actualDataNodes: ds_${2..4}.t_order_${0..1}
databaseStrategy:
standard:
shardingAlgorithmName: database_inline
shardingColumn: user_id
keyGenerateStrategy:
column: order_id
keyGeneratorName: t_order_snowflake
logicTable: t_order
tableStrategy:
standard:
shardingAlgorithmName: t_order_inline
shardingColumn: order_id
t_order_item:
actualDataNodes: ds_${2..4}.t_order_item_${0..1}
```
--
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