Skip to content

WIP: Experiment/prototype approaches to caching ChangeAccess

What does this MR do?

Includes WIP code and comments I was experimenting with to make progress with https://gitlab.com/gitlab-org/gitlab-ce/issues/44679

Other notes

Problem: we fetch raw commits in batches of 10 via rev-list #{new_rev} --not --all but then want to fetch diffs also in batches for a subset of those that by ignoring those which have cached results

Algorithm_v2: split by needs_diff? -> Process all with diffs -> Process all without diffs

Algorithm_v3: Get diffs in parallel in batches

Edited by James Edwards-Jones

Merge request reports