Closed
Description
Description
- Create new migration from https://github.com/pytorch/pytorch, does not matter whether mirror or not.
After some time, it will error:
2023/07/16 18:19:53 ...ices/task/migrate.go:60:func1() [E] runMigrateTask[6] by DoerID[1] to RepoID[47] for OwnerID[1] failed: SyncRepoBranchesWithRepo: Error 1062 (23000): Duplicate entry '47-update-test-distribute' for key 'UQE_branch_s'
2023/07/16 18:19:53 ...ervices/task/task.go:51:handler() [E] Run task failed: SyncRepoBranchesWithRepo: Error 1062 (23000): Duplicate entry '47-update-test-distribute' for key 'UQE_branch_s'

Likely regression from #22743
Gitea Version
main
Database
mysqld Ver 11.0.2-MariaDB for osx10.18 on x86_64 (Homebrew)