On 02/15/2018 11:31 AM, Philipp Kern wrote: > 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. > I have an updated patch at home that seems to work, will try and remember to push/send it tonight.
Thanks, Julien