diff --git a/br/pkg/backup/client.go b/br/pkg/backup/client.go index c69e4283b386b..48d4b2656f999 100644 --- a/br/pkg/backup/client.go +++ b/br/pkg/backup/client.go @@ -592,6 +592,8 @@ func BuildBackupRangeAndSchema( // Print a warning in other scenes, should it be a INFO log? log.Warn("get rowid error", zap.Error(err1)) } + // NextGlobalAutoID = globalAutoID + 1 + globalAutoID = globalAutoID + 1 } else { globalAutoID, err = idAlloc.NextGlobalAutoID() }