record tenant_id && adapitve update resource limit when advance clock in throttle unit

This commit is contained in:
ZenoWang
2024-01-01 12:17:43 +00:00
committed by ob-robot
parent 0c6f37bd4c
commit 680b7377b7
9 changed files with 62 additions and 49 deletions

View File

@ -51,7 +51,8 @@ void ObTenantMdsAllocator::init_throttle_config(int64_t &resource_limit, int64_t
max_duration = MDS_THROTTLE_MAX_DURATION;
}
}
void ObTenantMdsAllocator::adaptive_update_limit(const int64_t holding_size,
void ObTenantMdsAllocator::adaptive_update_limit(const int64_t tenant_id,
const int64_t holding_size,
const int64_t config_specify_resource_limit,
int64_t &resource_limit,
int64_t &last_update_limit_ts,