Log: Add more log related to tablet loc and table schema for defensive check error

This commit is contained in:
obdev
2023-03-09 06:41:18 +00:00
committed by ob-robot
parent 8a787f0a1e
commit aa3d567376
2 changed files with 4 additions and 1 deletions

View File

@ -1950,6 +1950,8 @@ int ObDMLService::check_dml_tablet_validity(ObDMLRtCtx &dml_rtctx,
LOG_ERROR("Fatal Error!!! Catch a defensive error!", K(ret),
K(tablet_loc), K(tablet_ids),
KPC(dml_rtdef.check_row_), KPC(dml_rtdef.check_location_));
LOG_ERROR("Fatal Error!!! Catch a defensive error!", K(ret), K(table_schema->get_schema_version()), K(dml_ctdef.das_base_ctdef_.schema_version_),
KPC(tmp_location), KPC(table_schema));
}
}
}

View File

@ -771,7 +771,8 @@ public:
TO_STRING_KV(K_(loc_meta),
K_(part_projector),
K_(has_dynamic_exec_param),
K_(part_hint_ids));
K_(part_hint_ids),
K_(related_list));
private:
int init_table_location(ObExecContext &exec_ctx,
ObSqlSchemaGuard &schema_guard,