Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The default values of shard_row_id_bits and pre_split_regions should be configurable #55716

Closed
jackysp opened this issue Aug 28, 2024 · 2 comments · Fixed by #55717
Closed

The default values of shard_row_id_bits and pre_split_regions should be configurable #55716

jackysp opened this issue Aug 28, 2024 · 2 comments · Fixed by #55717
Labels
type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@jackysp
Copy link
Member

jackysp commented Aug 28, 2024

Feature Request

Is your feature request related to a problem? Please describe:

The default values of shard_row_id_bits and pre_split_regions are 0, which make the customers have to set it one by one on their table schemas.

Describe the feature you'd like:

Make the default values of shard_row_id_bits and pre_split_regions be configurable.

Describe alternatives you've considered:

No.

Teachability, Documentation, Adoption, Migration Strategy:

When a new customer want to migrate his database to TiDB, we nearly always suggest them to set shard_row_id_bits and pre_split_regions on their tables, make the default values configurable will make the migration easier.

@jackysp jackysp added the type/feature-request Categorizes issue or PR as related to a new feature. label Aug 28, 2024
@jackysp
Copy link
Member Author

jackysp commented Aug 28, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
@jackysp and others