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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]