Skip to content

Resolve "Disabling push mirror raises error 500"

Tiago Botelho requested to merge 4099-remote-removal-port-to-background-job into master

What does this MR do?

This MR moves RemoteMirror#remove_remote to a background job since the operation can become lengthy as per: https://gitlab.com/gitlab-org/gitlab-ee/issues/4099#note_50548278

We also need to generate a dynamic ref_name (now being renamed to remote_name) because we might update the remote with the same ref_name which will result in the deletion of the new data as well.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #4099 (closed)

Edited by Tiago Botelho

Merge request reports