Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

[stats] error occurred when read table stats [types:1690]%s value is out of range in '%s' #662

Open
@overvenus

Description

@overvenus

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

Backup in TiDB 5.0 using BR master
Restore to TiDB 5.0 using BR master

Error occurs during restore.

[2020/12/28 12:36:30.250 +08:00] [ERROR] [handle.go:188] ["[stats] error occurred when read table stats"] [table=customer] [error="[types:1690]%s value is out of range in '%s'"] [errorVerbose="[types:1690]%s value is out of range in '%s'
github.com/pingcap/errors.AddStack
	github.com/pingcap/errors@v0.11.5-0.20201029093017-5a7df2af2ac7/errors.go:174
github.com/pingcap/errors.Trace
	github.com/pingcap/errors@v0.11.5-0.20201029093017-5a7df2af2ac7/juju_adaptor.go:15
github.com/pingcap/tidb/statistics/handle.(*Handle).columnStatsFromStorage
	github.com/pingcap/tidb@v1.1.0-beta.0.20201126054322-f7f48e3586b3/statistics/handle/handle.go:500
github.com/pingcap/tidb/statistics/handle.(*Handle).tableStatsFromStorage
	github.com/pingcap/tidb@v1.1.0-beta.0.20201126054322-f7f48e3586b3/statistics/handle/handle.go:597
github.com/pingcap/tidb/statistics/handle.(*Handle).Update
	github.com/pingcap/tidb@v1.1.0-beta.0.20201126054322-f7f48e3586b3/statistics/handle/handle.go:185
github.com/pingcap/tidb/domain.(*Domain).loadStatsWorker
	github.com/pingcap/tidb@v1.1.0-beta.0.20201126054322-f7f48e3586b3/domain/domain.go:1156
runtime.goexit
	runtime/asm_amd64.s:1357"] [stack="github.com/pingcap/tidb/statistics/handle.(*Handle).Update
	github.com/pingcap/tidb@v1.1.0-beta.0.20201126054322-f7f48e3586b3/statistics/handle/handle.go:188
github.com/pingcap/tidb/domain.(*Domain).loadStatsWorker
	github.com/pingcap/tidb@v1.1.0-beta.0.20201126054322-f7f48e3586b3/domain/domain.go:1156"]
  1. What did you expect to see?

No error.

  1. What did you see instead?

Error while restore succeeded.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions