Go implementation of UserBranchDelete fails
A starter customer (internal link) has reported that after their upgrade to 13.8, certain branches cannot be deleted anymore.
The deletion works on 13.8 if they disable the new Go implementation feature via :gitaly_go_user_delete_branch
and fall-back to the Ruby implementation. The deletions used to work normally on their previous version of 13.5 (and prior).
Logs observed in Gitaly for /gitaly.OperationService/UserDeleteBranch
through client gitlab-web
:
rpc error: code = FailedPrecondition desc = Could not update refs/heads/<branchname>. Please refresh and try again.
In their git repository, the branch is available within the packed-refs
file (as opposed to within the refs/heads/
directory, but that should be normal for branch references).
Some more information is available on the private customer ticket linked at the top of the description.
Edited by Harsh Chouraria