[pacman-dev] [PATCH] libalpm: download rates becoming negative

Morgan Adamiec morganamilo at archlinux.org
Mon Apr 19 12:46:38 UTC 2021



On 19/04/2021 13:39, Andrew Gregory wrote:
> On 04/19/21 at 01:32pm, Morgan Adamiec wrote:
>>
>>> Because the file may not be the same after we fallback to a different
>>> server.
>>>
>>
>> That shouldn't be the case though. Do we actually support that use case?
> 
> Yes.  Databases.
> 
>>>> In fact I don't see the point of this variable at all. Why would we ever
>>>> not want to unlink on fail?
>>>
>>> So that it can be resumed later.
>>>
>>
>> I guess, though the above point applies. it may be a different mirror
>> and therefore the file may not be the same. So I feel if you can resume
>> between pacman calls you should be able to resume between servers.

Ah yeah I guess databases makes sense. But why not just have
allow_resume as false for those downloads and allow package downloads to
continue?


More information about the pacman-dev mailing list