-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.component/ddlThis issue is related to DDL of TiDB.This issue is related to DDL of TiDB.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
found by DM integration tests
2. What did you expect to see? (Required)
3. What did you see instead (Required)
[2024/05/30 11:39:25.566 +08:00] [INFO] [ddl.go:1211] ["start DDL job"] [category=ddl] [job="ID:230, Type:create view, State:queueing, SchemaState:none, SchemaID:121, TableID:229, RowCount:0, ArgLen:3, start time: 2024-05-30 11:39:25.565 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW `lightning_task_info`.conflict_view\n\t\t\tAS SELECT 1 AS is_precheck_conflict, task_id, create_time, table_name, NULL AS index_name, NULL AS key_data,\n\t\t\trow_data, NULL AS raw_key, NULL AS raw_value, NULL AS raw_handle, NULL AS raw_row, NULL AS kv_type, path,\n\t\t\toffset, error, row_id FROM `lightning_task_info`.conflict_records;"]
...
[2024/05/30 11:39:25.572 +08:00] [INFO] [ddl.go:1211] ["start DDL job"] [category=ddl] [job="ID:232, Type:create view, State:queueing, SchemaState:none, SchemaID:121, TableID:231, RowCount:0, ArgLen:3, start time: 2024-05-30 11:39:25.571 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW `lightning_task_info`.conflict_view\n\t\t\tAS SELECT 1 AS is_precheck_conflict, task_id, create_time, table_name, NULL AS index_name, NULL AS key_data,\n\t\t\trow_data, NULL AS raw_key, NULL AS raw_value, NULL AS raw_handle, NULL AS raw_row, NULL AS kv_type, path,\n\t\t\toffset, error, row_id FROM `lightning_task_info`.conflict_records;"]
...
[2024/05/30 11:39:25.577 +08:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 3, tp general"] [category=ddl] [jobID=230] [conn=2098198] [job="ID:230, Type:create view, State:synced, SchemaState:public, SchemaID:121, TableID:229, RowCount:0, ArgLen:0, start time: 2024-05-30 11:39:25.565 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
...
[2024/05/30 11:39:25.584 +08:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 3, tp general"] [category=ddl] [jobID=232] [conn=2098202] [job="ID:232, Type:create view, State:cancelled, SchemaState:none, SchemaID:121, TableID:231, RowCount:0, ArgLen:3, start time: 2024-05-30 11:39:25.571 +0800 CST, Err:[meta:1146]table doesn't exist, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
4. What is your TiDB version? (Required)
Metadata
Metadata
Assignees
Labels
affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.component/ddlThis issue is related to DDL of TiDB.This issue is related to DDL of TiDB.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.