[CP] fix incorrect tablet_id of lob aux table schame in partition table
This commit is contained in:
@ -123,6 +123,10 @@ int ObLobMetaBuilder::set_basic_infos(
|
||||
aux_lob_meta_schema.set_table_type(AUX_LOB_META);
|
||||
aux_lob_meta_schema.set_data_table_id(data_schema.get_table_id());
|
||||
|
||||
// reset tablet id to zero
|
||||
// real tablet id will be generated by generate_tablet_id according to partition info
|
||||
aux_lob_meta_schema.set_tablet_id(0);
|
||||
|
||||
// priority same with data table schema
|
||||
aux_lob_meta_schema.set_tenant_id(data_schema.get_tenant_id());
|
||||
aux_lob_meta_schema.set_database_id(data_schema.get_database_id());
|
||||
|
@ -122,6 +122,10 @@ int ObLobPieceBuilder::set_basic_infos(
|
||||
int ret = OB_SUCCESS;
|
||||
aux_lob_piece_schema.set_data_table_id(data_schema.get_table_id());
|
||||
|
||||
// reset tablet id to zero
|
||||
// real tablet id will be generated by generate_tablet_id according to partition info
|
||||
aux_lob_piece_schema.set_tablet_id(0);
|
||||
|
||||
// priority same with data table schema
|
||||
aux_lob_piece_schema.set_tenant_id(data_schema.get_tenant_id());
|
||||
aux_lob_piece_schema.set_database_id(data_schema.get_database_id());
|
||||
|
Reference in New Issue
Block a user