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

[docdb] Add a flag to limit total number of tablet splits #6101

Closed
bmatican opened this issue Oct 20, 2020 · 0 comments
Closed

[docdb] Add a flag to limit total number of tablet splits #6101

bmatican opened this issue Oct 20, 2020 · 0 comments
Assignees
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature

Comments

@bmatican
Copy link
Contributor

When the master triggers a tablet split, we should have a flag to limit the total number of splits, such that if we've generated too many tablets in the system, we stop.

This flag should apply to both the manual and automatic splitting paths in the master.

Relevant code will be in catalog_manager.cc.
Doc for how to try out splitting (link to manual splitting process)

cc @ttyusupov

@bmatican bmatican added the area/docdb YugabyteDB core features label Oct 20, 2020
mikhpolitov added a commit that referenced this issue Nov 2, 2020
Summary: Add the flag tablet_split_limit_per_table to limit number of tablets per table.

Test Plan: ybd --cxx-test tablet-split-itest -n 100 -- -p 2

Reviewers: bogdan, rahuldesirazu, timur

Reviewed By: timur

Subscribers: jason, kannan, ybase

Differential Revision: https://phabricator.dev.yugabyte.com/D9721
@ttyusupov ttyusupov added the kind/enhancement This is an enhancement of an existing feature label Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants