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:
Implementation takes middle restart point from the largest SST file index and uses next DocKey from SST file key as an approximate middle DocKey for a tablet.
Other changes:
- `BlockBasedTable::GetIndexReader` code from `BlockBasedTable::NewIndexIterator` to reuse it in `BlockBasedTable::GetMiddleKey`.
- Added `TableCache::GetTableReader`
- Added `QLTabletTest.GetMiddleKey`
- Added `BlockTest.GetMiddleKey`
Test Plan: `ybd --gtest_filter QLTabletTest.GetMiddleKey -n 100 -- -p 1`
Reviewers: sergei, mikhail, bogdan
Reviewed By: bogdan
Subscribers: raju, ybase
Differential Revision: https://phabricator.dev.yugabyte.com/D8636
…litting
Summary:
Implementation takes middle restart point from the largest SST file index and uses next DocKey from SST file key as an approximate middle DocKey for a tablet.
Other changes:
- `BlockBasedTable::GetIndexReader` code from `BlockBasedTable::NewIndexIterator` to reuse it in `BlockBasedTable::GetMiddleKey`.
- Added `TableCache::GetTableReader`
- Added `QLTabletTest.GetMiddleKey`
- Added `BlockTest.GetMiddleKey`
Test Plan: `ybd --gtest_filter QLTabletTest.GetMiddleKey -n 100 -- -p 1`
Reviewers: sergei, mikhail, bogdan
Reviewed By: bogdan
Subscribers: raju, ybase
Differential Revision: https://phabricator.dev.yugabyte.com/D8636
Parent ticket: "Tablet splitting" #1004.
Uses approximate middle doc key from the largest SST.
The text was updated successfully, but these errors were encountered: