You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tablet splitting throttling was added in #6667, however we currently consider a tablet split done once any peer from each child tablet has marked itself compacted. This should be changed to wait until all peers are fully compacted.
Will likely need to change the processing_tablets_to_split_children_ map to keep track of all the peers, or have some new check that all peers are done compacting.
Just to clarify, the goal is:
Don’t split the (child) tablet until all its replicas are fully compacted.
Treat the parent tablet as still being split until all its children's tablets replicas are fully compacted for throttling purposes.
The text was updated successfully, but these errors were encountered:
That means we will not split the tablet if one replica is offline until it comes back online and got split and fully compacted?
IMO, yes, but we should also enhance the split scheduling logic
this feels similar to the constraints we have on the LB already, where if a TS is down, but was serving some tablets, then during the 0-15m unavaiability window, we’ll have to wait.
…ing during throttling
Summary:
Goals of this diff:
# Don’t split the (child) tablet until all its replicas are fully compacted.
# Treat the parent tablet as still being split until all its children's tablets replicas are fully compacted for throttling purposes.
Test Plan:
Integration Test:
- Creates a table with a single tablet and splits it
- For both child tablets we compact each peer and ensure that the tablet is split only when all peers have been compacted
Run the integration test as follows:
```
./yb_build.sh -n 50 --cxx-test integration-tests_tablet-split-itest --gtest_filter AutomaticTabletSplitITest.AutomaticTabletSplittingWaitsForAllPeersCompacted
```
Reviewers: rsami
Reviewed By: rsami
Subscribers: bogdan
Differential Revision: https://phabricator.dev.yugabyte.com/D13047
Tablet splitting throttling was added in #6667, however we currently consider a tablet split done once any peer from each child tablet has marked itself compacted. This should be changed to wait until all peers are fully compacted.
Will likely need to change the
processing_tablets_to_split_children_
map to keep track of all the peers, or have some new check that all peers are done compacting.Just to clarify, the goal is:
The text was updated successfully, but these errors were encountered: