Skip to content

bundleuri: Introduce bundle generation manager

John Cai requested to merge jc/prepare-for-bundle-autogeneration into master

A bundle generation manager will be responsible for handling requests to generate bundles for repositories. It will be in control of these processes and be able to stop them in the event Gitaly is shutting down.

It also will control concurrency and how many bundle generation processes are allowed to be running at one time.

This will be passed in and used to automatically generate bundles for bundle uri.

This MR also includes a few other preparatory commits to get ready for bundle autogeneration, which will be introduced in another MR.

  • Adds an InProgressTracker to track in progress operations. This will be used when auto generating bundles because as a heuristic we'd like to be able to know when a threshold is reached with concurrent clones are reached for a given repository.
  • plumbing to pass in the bundle manager and in progress tracker to the smart http service.

Merge request reports

Loading