Skip to content

Commit

Permalink
Don't acquire hidden table's lob tablet snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Hongqin-Li authored and ob-robot committed Nov 9, 2023
1 parent 8bfcf31 commit 213527c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/rootserver/ddl_task/ob_ddl_redefinition_task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,12 @@ int ObDDLRedefinitionTask::hold_snapshot(const int64_t snapshot_version)
} else if (data_table_schema->get_aux_lob_piece_tid() != OB_INVALID_ID &&
OB_FAIL(ObDDLUtil::get_tablets(tenant_id_, data_table_schema->get_aux_lob_piece_tid(), tablet_ids))) {
LOG_WARN("failed to get data lob piece table snapshot", K(ret));
} else if (dest_table_schema->get_aux_lob_meta_tid() != OB_INVALID_ID &&
OB_FAIL(ObDDLUtil::get_tablets(tenant_id_, dest_table_schema->get_aux_lob_meta_tid(), tablet_ids))) {
LOG_WARN("failed to get dest lob meta table snapshot", K(ret));
} else if (dest_table_schema->get_aux_lob_piece_tid() != OB_INVALID_ID &&
OB_FAIL(ObDDLUtil::get_tablets(tenant_id_, dest_table_schema->get_aux_lob_piece_tid(), tablet_ids))) {
LOG_WARN("failed to get dest lob piece table snapshot", K(ret));
// } else if (data_format_version_ >= DATA_VERSION_4_3_0_0 && dest_table_schema->get_aux_lob_meta_tid() != OB_INVALID_ID &&
// OB_FAIL(ObDDLUtil::get_tablets(tenant_id_, dest_table_schema->get_aux_lob_meta_tid(), tablet_ids))) {
// LOG_WARN("failed to get dest lob meta table snapshot", K(ret));
// } else if (data_format_version_ >= DATA_VERSION_4_3_0_0 && dest_table_schema->get_aux_lob_piece_tid() != OB_INVALID_ID &&
// OB_FAIL(ObDDLUtil::get_tablets(tenant_id_, dest_table_schema->get_aux_lob_piece_tid(), tablet_ids))) {
// LOG_WARN("failed to get dest lob piece table snapshot", K(ret));
} else {
ObDDLService &ddl_service = root_service->get_ddl_service();
if (OB_FAIL(ddl_service.get_snapshot_mgr().batch_acquire_snapshot(
Expand Down

0 comments on commit 213527c

Please sign in to comment.