Control: tag -1 - patch
On 2018-01-01 17:01, Julien Cristau wrote:
following patch looks at the Acquire-By-Hash field in (In)Release to
get
Packages from the by-hash directory if available and avoid races. I
thought we already had a bug about this, but can't find one now.
So as discussed on IRC this patch sadly does not work as-is. It fetches
the Packages file from the by-hash location but then proceeds to fetch
the packages themselves from a by-hash location as well and fails when
those fetches all 404 (because pool doesn't have a by-hash subdirectory
and that would also not work well on a traditional filesystem if not
sharded by, say, hash prefix).
Instead it would need to restrict itself to only attempt metadata
fetches by-hash by passing some sort of flag around.
Kind regards and thanks
Philipp Kern