Skip to content

Draft: Preparatory pack-objects cache changes

Jacob Vosmaer requested to merge jv-pack-objects-stream-prep into master

This MR collects a few commits we need for !3668 (closed) and gitlab-com/gl-infra/scalability#1126 (closed).

  1. A mechanism to turn a stream of side-band64k packets into an io.Reader (SingleBandReader).
  2. A change in the cache file format so that the exit status of pack-objects (true/false) is reflected in the cache files: this allows us to later implement PackObjectsHook as simply streaming the cache file.
Edited by Jacob Vosmaer

Merge request reports