pingcap/tidb

DDL: some DDL logs with `deltaSchemaInfo` cannot be printed correctly

Open

#27,517 opened on Aug 23, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (40,090 stars) (6,186 forks)batch import
help wantedseverity/moderatesig/sql-infratype/bug

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

The structure deltaSchemaInfo cannot be printed correctly:

[2021/08/19 18:48:36.493 +08:00] [Info] [schema_validator.go:174] ["the schema version is much older than the latest version"] [currVer=5148] [latestSchemaVer=5149] [deltas="[{}]"]

image

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

3. What did you see instead (Required)

[{}]

4. What is your TiDB version? (Required)

v4.0.13

Contributor guide