meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
sw:apt-cacher-ng:issues [2026/11/27 12:54] – niziaksw:apt-cacher-ng:issues [2026/11/27 13:01] (current) – niziak
Line 33: Line 33:
 | Reported working | no reports found (AI-authored, "Upstream-Status: Pending") | author reports it deployed together with Woodall's | Mundt (Debian), Kaiser (38 sites) |                                        | Reported working | no reports found (AI-authored, "Upstream-Status: Pending") | author reports it deployed together with Woodall's | Mundt (Debian), Kaiser (38 sites) |                                       
 | Applied upstream / in Debian | no | no | no |                                                                                                                                                                   | Applied upstream / in Debian | no | no | no |                                                                                                                                                                  
-                              + 
 + 
 +Which one solves the problem                                                                                                                                                                                      
 +  * **Woodall** fixes the core race. ''job::Prepare()'' holds a global mutex, and a client asking for a URL that is already in progress attaches to the existing item instead of creating a new one. That avoids displacement, the same-second rename collision, and duplicate downloads in one change. Reports from Mundt (Debian) and Kaiser (38 sites) say it works, but it isn't a full cure: Ovsík still saw bad signatures with it on 3.7.5.                                                                                                                                                                                               
 +  * **Ponsinet** fixes the two defects in the registry itself. It sets ''m_nTimeDlStarted'' when the item is created, and adds a counter to the renamed file name. That covers any caller of Create(), not only job.        
 +  * **#25** is a subset of Ponsinet's first change. It doesn't fix the rename collision, and it disables the stuck detection before headers arrive.                                                                     
 +  * **Best set** Woodall + Ponsinet. They apply cleanly together, and Ponsinet reports running both in production. I'd skip the #25 patch if you use Ponsinet's.  
 +