ObTablet Compression

This commit is contained in:
obdev
2023-08-03 03:54:03 +00:00
committed by ob-robot
parent 45f0c463a3
commit cb81c7d64c
16 changed files with 251 additions and 129 deletions

View File

@ -1841,8 +1841,7 @@ int ObLSTabletService::replay_create_tablet(
if (tablet->is_empty_shell()) {
pool_type = ObTabletPoolType::TP_NORMAL;
} else {
const int64_t try_cache_size = sizeof(ObTablet)
+ tablet->rowkey_read_info_->get_deep_copy_size();
const int64_t try_cache_size = tablet->get_try_cache_size();
if (try_cache_size > ObTenantMetaMemMgr::NORMAL_TABLET_POOL_SIZE) {
pool_type = ObTabletPoolType::TP_LARGE;
} else {