Remove is_valid in ps cache and plan cache.

This commit is contained in:
obdev
2022-12-09 03:40:57 +00:00
committed by ob-robot
parent 9b8edfcf0c
commit 59df2a1a27
9 changed files with 6 additions and 29 deletions

View File

@ -322,7 +322,6 @@ struct ObNodeStatFilterOp : public ObKVEntryTraverseOp
ObPlanCache::ObPlanCache()
:inited_(false),
valid_(false),
tenant_id_(OB_INVALID_TENANT_ID),
mem_limit_pct_(OB_PLAN_CACHE_PERCENTAGE),
mem_high_pct_(OB_PLAN_CACHE_EVICT_HIGH_PERCENTAGE),
@ -376,7 +375,6 @@ int ObPlanCache::init(int64_t hash_bucket, common::ObAddr addr,
tenant_id_ = tenant_id;
ref_handle_mgr_.set_tenant_id(tenant_id_);
inited_ = true;
valid_ = true;
pcm_ = pcm;
}
}