增量备份报错GC safepoint 424900114263310336 exceed TS 424888966707675137

tikv_gc_life_time为48小时
【TiDB 版本】
V4.0.11
【问题描述】
[2021/05/13 08:40:07.168 +08:00] [INFO] [client.go:266] [“change table AutoIncID”] [db=EnjoyCRM_DataCenter] [table=tb_customer_extend] [AutoIncID=1]
[2021/05/13 08:40:07.170 +08:00] [ERROR] [backup.go:154] [“Check gc safepoint for last backup ts failed”] [error=“GC safepoint 424900114263310336 exceed TS 424888966707675137”] [errorVerbose=“GC safepoint 424900114263310336 exceed TS 424888966707675137\ngithub.com/pingcap/br/pkg/backup.CheckGCSafePoint\ \t/home/jenkins/agent/workspace/build_br_multi_branch_v4.0.0/go/src/github.com/pingcap/br/pkg/backup/safe_point.go:40\ github.com/pingcap/br/pkg/task.RunBackup\ \t/home/jenkins/agent/workspace/build_br_multi_branch_v4.0.0/go/src/github.com/pingcap/br/pkg/task/backup.go:152\ github.com/pingcap/br/cmd.runBackupCommand\ \t/home/jenkins/agent/workspace/build_br_multi_branch_v4.0.0/go/src/github.com/pingcap/br/cmd/backup.go:22\ github.com/pingcap/br/cmd.newDbBackupCommand.func1\ \t/home/jenkins/agent/workspace/build_br_multi_branch_v4.0.0/go/src/github.com/pingcap/br/cmd/backup.go:86\ github.com/spf13/cobra.(*Command).execute\ \t/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:842\ngithub.com/spf13/cobra.(*Command).ExecuteC\ \t/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\ \t/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887\ main.main\ \t/home/jenkins/agent/workspace/build_br_multi_branch_v4.0.0/go/src/github.com/pingcap/br/main.go:54\ runtime.main\ \t/usr/local/go/src/runtime/proc.go:203\ runtime.goexit\ \t/usr/local/go/src/runtime/asm_amd64.s:1357”] [stack=“github.com/pingcap/log.Error\ \t/go/pkg/mod/github.com/pingcap/log@v0.0.0-20200117041106-d28c14d3b1cd/global.go:42\ github.com/pingcap/br/pkg/task.RunBackup\ \t/home/jenkins/agent/workspace/build_br_multi_branch_v4.0.0/go/src/github.com/pingcap/br/pkg/task/backup.go:154\ github.com/pingcap/br/cmd.runBackupCommand\ \t/home/jenkins/agent/workspace/build_br_multi_branch_v4.0.0/go/src/github.com/pingcap/br/cmd/backup.go:22\ github.com/pingcap/br/cmd.newDbBackupCommand.func1\ \t/home/jenkins/agent/workspace/build_br_multi_branch_v4.0.0/go/src/github.com/pingcap/br/cmd/backup.go:86\ github.com/spf13/cobra.(*Command).execute\ \t/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:842\ngithub.com/spf13/cobra.(*Command).ExecuteC\ \t/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\ \t/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887\ main.main\ \t/home/jenkins/agent/workspace/build_br_multi_branch_v4.0.0/go/src/github.com/pingcap/br/main.go:54\ runtime.main\ \t/usr/local/go/src/runtime/proc.go:203”]
[2021/05/13 08:40:07.172 +08:00] [INFO] [ddl.go:407] ["[ddl] DDL closed"] [ID=0268c19f-2c9c-4193-ab45-8a3492068b50] [“take time”=1.899587ms]
[2021/05/13 08:40:07.172 +08:00] [INFO] [ddl.go:301] ["[ddl] stop DDL"] [ID=0268c19f-2c9c-4193-ab45-8a3492068b50]
[2021/05/13 08:40:07.175 +08:00] [INFO] [domain.go:607] [“domain closed”] [“take time”=4.647512ms]
[2021/05/13 08:40:07.175 +08:00] [INFO] [collector.go:172] [“Database backup Failed summary : total backup ranges: 0, total success: 0, total failed: 0”]

1 个赞

可以先参考 AskTUG 类似报错的帖子