Manage tablet by partition id (#1591)

This commit is contained in:
yiguolei
2019-08-07 20:54:50 +08:00
committed by lichaoyong
parent dc4a5e6c10
commit 41cbedf57d
4 changed files with 20 additions and 2 deletions

View File

@ -933,4 +933,8 @@ OLAPStatus Tablet::set_partition_id(int64_t partition_id) {
return _tablet_meta->set_partition_id(partition_id);
}
TabletInfo Tablet::get_tablet_info() {
return TabletInfo(tablet_id(), schema_hash(), tablet_uid());
}
} // namespace doris