[FEAT MERGE] Add anti-fallback checks for the memory of 500 tenant

This commit is contained in:
obdev
2023-04-25 02:41:25 +00:00
committed by ob-robot
parent c317071f7e
commit fdcaa9a932
135 changed files with 936 additions and 660 deletions

View File

@ -194,9 +194,10 @@ int ObMaintainObjDepInfoTask::assign_view_schema(const ObTableSchema &view_schem
int ObMaintainDepInfoTaskQueue::init(const int64_t thread_cnt, const int64_t queue_size)
{
int ret = OB_SUCCESS;
auto attr = SET_USE_500("DepInfoTaskQ");
if (OB_FAIL(ObAsyncTaskQueue::init(thread_cnt, queue_size, "MaintainDepInfoTaskQueue"))) {
LOG_WARN("failed to init base queue", K(ret));
} else if (OB_FAIL(view_info_set_.create(INIT_BKT_SIZE))) {
} else if (OB_FAIL(view_info_set_.create(INIT_BKT_SIZE, attr, attr))) {
LOG_WARN("failed to init view set", K(ret));
}
return ret;