Skip to content

Implement the ApplyBfgObjectMapStream RPC

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/30093

The BFG object map includes a list of rewritten commits. In gitlab-ce, we want to be able to throw away data that is related to any of the old rewritten commits, since they may contain sensitive information.

By having Gitaly stream the changes commits (and only the commits, for now) back to gitlab-ce, we can process them while gitaly is removing the internal references that are point to those rewritten commits.

Doing it like this also means we only have to parse the object file once - in Gitaly.

A release after this "streaming" RPC is merged, we can remove the old one.

Edited by GitLab Release Tools Bot

Merge request reports