[4.4] change required_size to required_data_disk_size for __all_virtual_ls_info
This commit is contained in:
@ -198,7 +198,7 @@ int ObAllVirtualLSInfo::process_curr_tenant(ObNewRow *&row)
|
||||
cur_row_.cells_[i].set_int(ls_info.tx_blocked_);
|
||||
break;
|
||||
case OB_APP_MIN_COLUMN_ID + 16:
|
||||
// required_size
|
||||
// required_data_disk_size
|
||||
cur_row_.cells_[i].set_int(0);
|
||||
break;
|
||||
default:
|
||||
|
||||
@ -9829,9 +9829,9 @@ int ObInnerTableSchema::all_virtual_ls_info_schema(ObTableSchema &table_schema)
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
ObObj required_size_default;
|
||||
required_size_default.set_int(0);
|
||||
ADD_COLUMN_SCHEMA_T("required_size", //column_name
|
||||
ObObj required_data_disk_size_default;
|
||||
required_data_disk_size_default.set_int(0);
|
||||
ADD_COLUMN_SCHEMA_T("required_data_disk_size", //column_name
|
||||
++column_id, //column_id
|
||||
0, //rowkey_id
|
||||
0, //index_id
|
||||
@ -9843,8 +9843,8 @@ int ObInnerTableSchema::all_virtual_ls_info_schema(ObTableSchema &table_schema)
|
||||
-1, //column_scale
|
||||
false, //is_nullable
|
||||
false, //is_autoincrement
|
||||
required_size_default,
|
||||
required_size_default); //default_value
|
||||
required_data_disk_size_default,
|
||||
required_data_disk_size_default); //default_value
|
||||
}
|
||||
if (OB_SUCC(ret)) {
|
||||
table_schema.get_part_option().set_part_num(1);
|
||||
|
||||
@ -5084,7 +5084,7 @@ int ObInnerTableSchema::all_virtual_ls_info_ora_schema(ObTableSchema &table_sche
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
ADD_COLUMN_SCHEMA("REQUIRED_SIZE", //column_name
|
||||
ADD_COLUMN_SCHEMA("REQUIRED_DATA_DISK_SIZE", //column_name
|
||||
++column_id, //column_id
|
||||
0, //rowkey_id
|
||||
0, //index_id
|
||||
|
||||
@ -12343,7 +12343,7 @@ def_table_schema(
|
||||
('tablet_change_checkpoint_scn', 'uint'),
|
||||
('transfer_scn', 'uint'),
|
||||
('tx_blocked', 'int'),
|
||||
('required_size', 'int', 'false', 0),
|
||||
('required_data_disk_size', 'int', 'false', 0),
|
||||
],
|
||||
partition_columns = ['svr_ip', 'svr_port'],
|
||||
vtable_route_policy = 'distributed',
|
||||
|
||||
@ -2881,7 +2881,7 @@ rebuild_seq bigint(20) NO NULL
|
||||
tablet_change_checkpoint_scn bigint(20) unsigned NO NULL
|
||||
transfer_scn bigint(20) unsigned NO NULL
|
||||
tx_blocked bigint(20) NO NULL
|
||||
required_size bigint(20) NO 0
|
||||
required_data_disk_size bigint(20) NO 0
|
||||
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_ls_info;
|
||||
IF(count(*) >= 0, 1, 0)
|
||||
1
|
||||
|
||||
@ -6465,7 +6465,7 @@ rebuild_seq bigint(20) NO NULL
|
||||
tablet_change_checkpoint_scn bigint(20) unsigned NO NULL
|
||||
transfer_scn bigint(20) unsigned NO NULL
|
||||
tx_blocked bigint(20) NO NULL
|
||||
required_size bigint(20) NO 0
|
||||
required_data_disk_size bigint(20) NO 0
|
||||
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_ls_info;
|
||||
IF(count(*) >= 0, 1, 0)
|
||||
1
|
||||
|
||||
Reference in New Issue
Block a user