Skip to content

Add an enhanced ApplyBfgObjectMap RPC to return a stream of interpreted objects

Nick Thomas requested to merge (removed):bfg-cleaner-returns-commit-shas into master

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

The client needs to know about every altered commit in the object map so it can remove database-cached data, and elasticsearch-cached data in the future too.

There's no obvious use for non-commit entries in the object map yet, and I expect the initial gitaly implementation will just skip them instead of returning them, but by including an entry "type" field, we can add non-commit entries in a backward-compatible way later.

The original RPC needs to remain untouched for at least one release for a backward-compatible migration.

Edited by Nick Thomas

Merge request reports