Skip to content

字段长度超过限制 #342

Closed
Closed
@skymoou

Description

@skymoou

CREATE TABLE IF NOT EXISTS actiontech_udup.gtid_executed_v2 (
job_uuid binary(16) NOT NULL COMMENT 'unique identifier of job',
source_uuid binary(16) NOT NULL COMMENT 'uuid of the source where the transaction was originally executed.',
interval_gtid text NOT NULL COMMENT 'number of interval.'
);

当做全量同步的时候, interval_gtid 字段长度不够,直接导致job失败 报错信息:
2018/10/25 10:31:09.274531 [ERR] agent: Task "Dest" for alloc "589aa77c-db36-b485-b36d-42b8f3ff2a3d" failed: Wait returned exit code 2, and error Error 1406: Data too long for column 'interval_gtid' at row 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions