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
Summary:
We need to track the last applied operation ID in order to decide when it is safe to clean up the tablet after it has been split (#4929).
- Added tracking of last applied operation ID
- Added tracking of last operation ID applied by all tracked peers
- Updates consensus-related tests
- Added QLTabletTest.LastAppliedOpIdTracking
Test Plan:
```
ybd --gtest_filter QLTabletTest.LastAppliedOpIdTracking
```
Reviewers: mikhail, sergei, bogdan
Reviewed By: sergei
Subscribers: ybase, bogdan
Differential Revision: https://phabricator.dev.yugabyte.com/D9059
Summary:
Implemented cleanup of the tablet for which all replicas have been split:
- Added DeleteTablet master functionality and RPC support.
- Renamed `TEST_GetAllAppliedOpId` -> `GetAllAppliedOpId` to be used in production code.
- `TSTabletManager`: added tablets cleaner background task which is responsible for deleting of split tablets that are no longer needed.
- Added `TabletSplitITest.ParentTabletCleanup`.
Test Plan:
```
ybd --remote --dltp --cxx-test tablet-split-itest -n 100 -- -p 1
```
Reviewers: hector, nicolas, bogdan
Reviewed By: bogdan
Subscribers: zyu, ybase, bogdan
Differential Revision: https://phabricator.dev.yugabyte.com/D9456
TABLET_DATA_SPLIT_COMPLETED
afterfollower_unavailable_considered_failed_sec
.follower_unavailable_considered_failed_sec
.The text was updated successfully, but these errors were encountered: