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:
- Added SplitTablet RPC support into yb-master.
- Added SplitTablet RPC support into yb-admin, for now allows to specify tablet id to split and computes split point as the middle of tablet's partition range.
- Implemented `CatalogManager::SplitTablet` logic for hash partitioning.
- Reworked tablet-split-itest to use and test `CatalogManager::SplitTablet`
- SysTabletsEntryPB: added split_parent_tablet_id and split_depth field to support post-split tablets registration on master-side.
Test Plan:
1) `ybd --cxx-test tablet-split-itest`
2) Using local cluster and yb-admin:
```
./bin/yb-ctl create
java -jar ~/code/yb-sample-apps/target/yb-sample-apps.jar --workload CassandraBatchKeyValue --nodes 127.0.0.1:9042 --num_threads_read 0 --num_threads_write 4 --nouuid --num_unique_keys 1000000 --num_writes 1000000
./build/latest/bin/yb-admin list_tablets ybdemo_keyspace cassandrakeyvalue
./build/latest/bin/yb-admin split_tablet <tablet_id_to_split>
```
Check http://127.0.0.1:9000/tablets
Reviewers: mikhail, bogdan, sergei
Reviewed By: bogdan, sergei
Subscribers: bogdan
Differential Revision: https://phabricator.dev.yugabyte.com/D8253
Parent ticket: "Tablet splitting" #1004.
Depends on #1459.
The text was updated successfully, but these errors were encountered: