patch_422_cgroup_config to master

This commit is contained in:
obdev
2023-12-19 15:43:34 +00:00
committed by ob-robot
parent 28a14b828b
commit 79ad4d4e26
21 changed files with 1067 additions and 16 deletions

View File

@ -980,6 +980,7 @@ public:
static int all_virtual_tenant_event_history_schema(share::schema::ObTableSchema &table_schema);
static int all_virtual_balance_task_helper_schema(share::schema::ObTableSchema &table_schema);
static int all_virtual_balance_group_ls_stat_schema(share::schema::ObTableSchema &table_schema);
static int all_virtual_cgroup_config_schema(share::schema::ObTableSchema &table_schema);
static int all_virtual_flt_config_schema(share::schema::ObTableSchema &table_schema);
static int all_virtual_tenant_scheduler_job_class_schema(share::schema::ObTableSchema &table_schema);
static int all_virtual_recover_table_job_schema(share::schema::ObTableSchema &table_schema);
@ -1255,6 +1256,7 @@ public:
static int all_virtual_import_table_task_history_ora_schema(share::schema::ObTableSchema &table_schema);
static int all_virtual_ls_info_ora_schema(share::schema::ObTableSchema &table_schema);
static int all_virtual_column_group_mapping_real_agent_ora_schema(share::schema::ObTableSchema &table_schema);
static int all_virtual_cgroup_config_ora_schema(share::schema::ObTableSchema &table_schema);
static int all_virtual_column_group_history_ora_schema(share::schema::ObTableSchema &table_schema);
static int all_virtual_column_group_mapping_history_ora_schema(share::schema::ObTableSchema &table_schema);
static int all_virtual_aux_stat_real_agent_ora_schema(share::schema::ObTableSchema &table_schema);
@ -1643,6 +1645,8 @@ public:
static int dba_ob_import_table_task_history_schema(share::schema::ObTableSchema &table_schema);
static int gv_ob_tenant_runtime_info_schema(share::schema::ObTableSchema &table_schema);
static int v_ob_tenant_runtime_info_schema(share::schema::ObTableSchema &table_schema);
static int gv_ob_cgroup_config_schema(share::schema::ObTableSchema &table_schema);
static int v_ob_cgroup_config_schema(share::schema::ObTableSchema &table_schema);
static int dba_ob_aux_statistics_schema(share::schema::ObTableSchema &table_schema);
static int cdb_ob_aux_statistics_schema(share::schema::ObTableSchema &table_schema);
static int dba_index_usage_schema(share::schema::ObTableSchema &table_schema);
@ -2082,6 +2086,8 @@ public:
static int v_ob_timestamp_service_ora_schema(share::schema::ObTableSchema &table_schema);
static int v_ob_ls_log_restore_status_ora_schema(share::schema::ObTableSchema &table_schema);
static int gv_ob_flt_trace_config_ora_schema(share::schema::ObTableSchema &table_schema);
static int gv_ob_cgroup_config_ora_schema(share::schema::ObTableSchema &table_schema);
static int v_ob_cgroup_config_ora_schema(share::schema::ObTableSchema &table_schema);
static int dba_ob_aux_statistics_ora_schema(share::schema::ObTableSchema &table_schema);
static int dba_index_usage_ora_schema(share::schema::ObTableSchema &table_schema);
static int gv_ob_ls_snapshots_ora_schema(share::schema::ObTableSchema &table_schema);
@ -3549,6 +3555,7 @@ const schema_create_func virtual_table_schema_creators [] = {
ObInnerTableSchema::all_virtual_tenant_event_history_schema,
ObInnerTableSchema::all_virtual_balance_task_helper_schema,
ObInnerTableSchema::all_virtual_balance_group_ls_stat_schema,
ObInnerTableSchema::all_virtual_cgroup_config_schema,
ObInnerTableSchema::all_virtual_flt_config_schema,
ObInnerTableSchema::all_virtual_tenant_scheduler_job_class_schema,
ObInnerTableSchema::all_virtual_recover_table_job_schema,
@ -3834,6 +3841,7 @@ const schema_create_func virtual_table_schema_creators [] = {
ObInnerTableSchema::all_virtual_import_table_task_history_ora_schema,
ObInnerTableSchema::all_virtual_ls_info_ora_schema,
ObInnerTableSchema::all_virtual_column_group_mapping_real_agent_ora_schema,
ObInnerTableSchema::all_virtual_cgroup_config_ora_schema,
ObInnerTableSchema::all_virtual_column_group_history_ora_schema,
ObInnerTableSchema::all_virtual_column_group_mapping_history_ora_schema,
ObInnerTableSchema::all_virtual_aux_stat_real_agent_ora_schema,
@ -4306,6 +4314,8 @@ const schema_create_func sys_view_schema_creators [] = {
ObInnerTableSchema::dba_ob_import_table_task_history_schema,
ObInnerTableSchema::gv_ob_tenant_runtime_info_schema,
ObInnerTableSchema::v_ob_tenant_runtime_info_schema,
ObInnerTableSchema::gv_ob_cgroup_config_schema,
ObInnerTableSchema::v_ob_cgroup_config_schema,
ObInnerTableSchema::dba_ob_aux_statistics_schema,
ObInnerTableSchema::cdb_ob_aux_statistics_schema,
ObInnerTableSchema::dba_index_usage_schema,
@ -4745,6 +4755,8 @@ const schema_create_func sys_view_schema_creators [] = {
ObInnerTableSchema::v_ob_timestamp_service_ora_schema,
ObInnerTableSchema::v_ob_ls_log_restore_status_ora_schema,
ObInnerTableSchema::gv_ob_flt_trace_config_ora_schema,
ObInnerTableSchema::gv_ob_cgroup_config_ora_schema,
ObInnerTableSchema::v_ob_cgroup_config_ora_schema,
ObInnerTableSchema::dba_ob_aux_statistics_ora_schema,
ObInnerTableSchema::dba_index_usage_ora_schema,
ObInnerTableSchema::gv_ob_ls_snapshots_ora_schema,
@ -5329,6 +5341,7 @@ const uint64_t tenant_space_tables [] = {
OB_ALL_VIRTUAL_MVIEW_REFRESH_STMT_STATS_TID,
OB_ALL_VIRTUAL_WR_CONTROL_TID,
OB_ALL_VIRTUAL_TENANT_EVENT_HISTORY_TID,
OB_ALL_VIRTUAL_CGROUP_CONFIG_TID,
OB_ALL_VIRTUAL_FLT_CONFIG_TID,
OB_ALL_VIRTUAL_RECOVER_TABLE_JOB_TID,
OB_ALL_VIRTUAL_RECOVER_TABLE_JOB_HISTORY_TID,
@ -5610,6 +5623,7 @@ const uint64_t tenant_space_tables [] = {
OB_ALL_VIRTUAL_IMPORT_TABLE_TASK_HISTORY_ORA_TID,
OB_ALL_VIRTUAL_LS_INFO_ORA_TID,
OB_ALL_VIRTUAL_COLUMN_GROUP_MAPPING_REAL_AGENT_ORA_TID,
OB_ALL_VIRTUAL_CGROUP_CONFIG_ORA_TID,
OB_ALL_VIRTUAL_COLUMN_GROUP_HISTORY_ORA_TID,
OB_ALL_VIRTUAL_COLUMN_GROUP_MAPPING_HISTORY_ORA_TID,
OB_ALL_VIRTUAL_AUX_STAT_REAL_AGENT_ORA_TID,
@ -5886,6 +5900,8 @@ const uint64_t tenant_space_tables [] = {
OB_DBA_OB_IMPORT_TABLE_JOB_HISTORY_TID,
OB_DBA_OB_IMPORT_TABLE_TASKS_TID,
OB_DBA_OB_IMPORT_TABLE_TASK_HISTORY_TID,
OB_GV_OB_CGROUP_CONFIG_TID,
OB_V_OB_CGROUP_CONFIG_TID,
OB_DBA_OB_AUX_STATISTICS_TID,
OB_DBA_INDEX_USAGE_TID,
OB_GV_OB_LS_SNAPSHOTS_TID,
@ -6320,6 +6336,8 @@ const uint64_t tenant_space_tables [] = {
OB_V_OB_TIMESTAMP_SERVICE_ORA_TID,
OB_V_OB_LS_LOG_RESTORE_STATUS_ORA_TID,
OB_GV_OB_FLT_TRACE_CONFIG_ORA_TID,
OB_GV_OB_CGROUP_CONFIG_ORA_TID,
OB_V_OB_CGROUP_CONFIG_ORA_TID,
OB_DBA_OB_AUX_STATISTICS_ORA_TID,
OB_DBA_INDEX_USAGE_ORA_TID,
OB_GV_OB_LS_SNAPSHOTS_ORA_TID,
@ -7151,6 +7169,7 @@ const uint64_t all_ora_mapping_virtual_table_org_tables [] = {
OB_ALL_VIRTUAL_IMPORT_TABLE_TASK_TID,
OB_ALL_VIRTUAL_IMPORT_TABLE_TASK_HISTORY_TID,
OB_ALL_VIRTUAL_LS_INFO_TID,
OB_ALL_VIRTUAL_CGROUP_CONFIG_TID,
OB_ALL_VIRTUAL_COLUMN_GROUP_HISTORY_TID,
OB_ALL_VIRTUAL_COLUMN_GROUP_MAPPING_HISTORY_TID,
OB_ALL_VIRTUAL_LS_SNAPSHOT_TID, };
@ -7292,6 +7311,7 @@ const uint64_t all_ora_mapping_virtual_tables [] = { OB_ALL_VIRTUAL_SQL_AUDIT_O
, OB_ALL_VIRTUAL_IMPORT_TABLE_TASK_ORA_TID
, OB_ALL_VIRTUAL_IMPORT_TABLE_TASK_HISTORY_ORA_TID
, OB_ALL_VIRTUAL_LS_INFO_ORA_TID
, OB_ALL_VIRTUAL_CGROUP_CONFIG_ORA_TID
, OB_ALL_VIRTUAL_COLUMN_GROUP_HISTORY_ORA_TID
, OB_ALL_VIRTUAL_COLUMN_GROUP_MAPPING_HISTORY_ORA_TID
, OB_ALL_VIRTUAL_LS_SNAPSHOT_ORA_TID
@ -7772,6 +7792,7 @@ const char* const tenant_space_table_names [] = {
OB_ALL_VIRTUAL_MVIEW_REFRESH_STMT_STATS_TNAME,
OB_ALL_VIRTUAL_WR_CONTROL_TNAME,
OB_ALL_VIRTUAL_TENANT_EVENT_HISTORY_TNAME,
OB_ALL_VIRTUAL_CGROUP_CONFIG_TNAME,
OB_ALL_VIRTUAL_FLT_CONFIG_TNAME,
OB_ALL_VIRTUAL_RECOVER_TABLE_JOB_TNAME,
OB_ALL_VIRTUAL_RECOVER_TABLE_JOB_HISTORY_TNAME,
@ -8053,6 +8074,7 @@ const char* const tenant_space_table_names [] = {
OB_ALL_VIRTUAL_IMPORT_TABLE_TASK_HISTORY_ORA_TNAME,
OB_ALL_VIRTUAL_LS_INFO_ORA_TNAME,
OB_ALL_VIRTUAL_COLUMN_GROUP_MAPPING_REAL_AGENT_ORA_TNAME,
OB_ALL_VIRTUAL_CGROUP_CONFIG_ORA_TNAME,
OB_ALL_VIRTUAL_COLUMN_GROUP_HISTORY_ORA_TNAME,
OB_ALL_VIRTUAL_COLUMN_GROUP_MAPPING_HISTORY_ORA_TNAME,
OB_ALL_VIRTUAL_AUX_STAT_REAL_AGENT_ORA_TNAME,
@ -8329,6 +8351,8 @@ const char* const tenant_space_table_names [] = {
OB_DBA_OB_IMPORT_TABLE_JOB_HISTORY_TNAME,
OB_DBA_OB_IMPORT_TABLE_TASKS_TNAME,
OB_DBA_OB_IMPORT_TABLE_TASK_HISTORY_TNAME,
OB_GV_OB_CGROUP_CONFIG_TNAME,
OB_V_OB_CGROUP_CONFIG_TNAME,
OB_DBA_OB_AUX_STATISTICS_TNAME,
OB_DBA_INDEX_USAGE_TNAME,
OB_GV_OB_LS_SNAPSHOTS_TNAME,
@ -8763,6 +8787,8 @@ const char* const tenant_space_table_names [] = {
OB_V_OB_TIMESTAMP_SERVICE_ORA_TNAME,
OB_V_OB_LS_LOG_RESTORE_STATUS_ORA_TNAME,
OB_GV_OB_FLT_TRACE_CONFIG_ORA_TNAME,
OB_GV_OB_CGROUP_CONFIG_ORA_TNAME,
OB_V_OB_CGROUP_CONFIG_ORA_TNAME,
OB_DBA_OB_AUX_STATISTICS_ORA_TNAME,
OB_DBA_INDEX_USAGE_ORA_TNAME,
OB_GV_OB_LS_SNAPSHOTS_ORA_TNAME,
@ -9600,6 +9626,7 @@ const uint64_t tenant_distributed_vtables [] = {
OB_ALL_VIRTUAL_TIMESTAMP_SERVICE_TID,
OB_ALL_VIRTUAL_PX_P2P_DATAHUB_TID,
OB_ALL_VIRTUAL_LS_LOG_RESTORE_STATUS_TID,
OB_ALL_VIRTUAL_CGROUP_CONFIG_TID,
OB_ALL_VIRTUAL_LS_SNAPSHOT_TID,
OB_ALL_VIRTUAL_SQL_AUDIT_ORA_TID,
OB_ALL_VIRTUAL_SQL_AUDIT_ORA_ALL_VIRTUAL_SQL_AUDIT_I1_TID,
@ -9668,6 +9695,7 @@ const uint64_t tenant_distributed_vtables [] = {
OB_ALL_VIRTUAL_TIMESTAMP_SERVICE_ORA_TID,
OB_ALL_VIRTUAL_LS_LOG_RESTORE_STATUS_ORA_TID,
OB_ALL_VIRTUAL_LS_INFO_ORA_TID,
OB_ALL_VIRTUAL_CGROUP_CONFIG_ORA_TID,
OB_ALL_VIRTUAL_LS_SNAPSHOT_ORA_TID, };
const uint64_t restrict_access_virtual_tables[] = {
@ -9787,6 +9815,7 @@ const uint64_t restrict_access_virtual_tables[] = {
OB_ALL_VIRTUAL_IMPORT_TABLE_JOB_HISTORY_ORA_TID,
OB_ALL_VIRTUAL_IMPORT_TABLE_TASK_ORA_TID,
OB_ALL_VIRTUAL_IMPORT_TABLE_TASK_HISTORY_ORA_TID,
OB_ALL_VIRTUAL_CGROUP_CONFIG_ORA_TID,
OB_ALL_VIRTUAL_LS_SNAPSHOT_ORA_TID,
OB_ALL_VIRTUAL_INDEX_USAGE_INFO_REAL_AGENT_ORA_TID };
@ -12229,11 +12258,11 @@ static inline int get_sys_table_lob_aux_schema(const uint64_t tid,
const int64_t OB_CORE_TABLE_COUNT = 4;
const int64_t OB_SYS_TABLE_COUNT = 279;
const int64_t OB_VIRTUAL_TABLE_COUNT = 777;
const int64_t OB_SYS_VIEW_COUNT = 826;
const int64_t OB_SYS_TENANT_TABLE_COUNT = 1887;
const int64_t OB_VIRTUAL_TABLE_COUNT = 779;
const int64_t OB_SYS_VIEW_COUNT = 830;
const int64_t OB_SYS_TENANT_TABLE_COUNT = 1893;
const int64_t OB_CORE_SCHEMA_VERSION = 1;
const int64_t OB_BOOTSTRAP_SCHEMA_VERSION = 1890;
const int64_t OB_BOOTSTRAP_SCHEMA_VERSION = 1896;
} // end namespace share
} // end namespace oceanbase