Skip to content

br checkpoint panic when BR executes gain #40704

@Leavrth

Description

@Leavrth

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. run backup and terminate it.
  2. run backup again.

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

success

3. What did you see instead (Required)

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0]
goroutine 1 [running]:
github.com/pingcap/tidb/br/pkg/backup.(*Schemas).BackupSchemas
        /.../tidb/br/pkg/backup/schema.go:119 +0x7a0

4. What is your TiDB version? (Required)

master

Metadata

Metadata

Assignees

Labels

affects-6.5This bug affects the 6.5.x(LTS) versions.component/brThis issue is related to BR 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