Skip to content

Lightning import data error summray trimmed #58085

@fubinzh

Description

@fubinzh

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. Running lightning parallel import with duplicate-resolution on, and there are conflict data in data source.
[tikv-importer]
  backend = "local"
  duplicate-resolution = "record"
  incremental-import = true
  sorted-kv-dir = "/tmp/sorted-kv-dir"

  1. Check lighting import result

2. What did you expect to see? (Required)

Lighting imort should failed, and console message should let user know the table in TiDB where they can find detailed information for the conflict.

8.1.1 example
Image

3. What did you see instead (Required)

For lighting 6.5, the table name is trimmed in the console.

Image

information in log is correct.

2024/12/09 04:07:00.578 +00:00] [WARN] [errormanager.go:475] ["Detect 44 data type errors in total, please refer to table `lightning_task_info`.`conflict_error_v1_2` for more details"]

4. What is your TiDB version? (Required)

v6.5.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-5.3This bug affects 5.3.x versions.affects-5.4This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.component/lightningThis issue is related to Lightning of TiDB.severity/moderatetype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions