shardingsphere
shardingsphere copied to clipboard
Show error message when altering sharding configuration if scaling is not enabled
Feature Request
Currently, if scaling is not enabled, alter sharding configuration will take effect immediately, e.g. ALTER SHARDING ALGORITHM, ALTER SHARDING TABLE RULE. Though sharding configuration is altered immediately, but the underlying data is not scaled, in fact it cause issue. So we'll improve it.
Is your feature request related to a problem?
Yes
Describe the feature you would like.
If scaling is not enabled, show error message to user when altering sharding configuration.
Refer to following java classes methods for more details:
- RuleDefinitionBackendHandler.execute
- RuleAlteredJobWorker.isOnRuleAlteredActionEnabled
Refer to Sharding Rule Definition DistSQL for more details.
can i take it?,Thanks
can i take it?,Thanks
Welcome. Assigned to you.