Project

Profile

Help

Issue #8625

Updated by ttereshc over 3 years ago

This behavior was introduced with this commit. 
 https://github.com/pulp/pulpcore/commit/47e5cc2a69464caaefbb50f994de03d72fb780e4 

 It affects RPM sync (because RPM content can have various checksum types) and migration plugin. Probably pulp_deb as well. 

 To reproduce: 
  - trigger on_demand sync for a repo with sha1 checksum type for content, e.g. https://packagecloud.io/timescale/timescaledb/el/7/x86_64/   
  - observe only one remote artifact in the db 

 ~~~ 
 pulp=> select url from core_remoteartifact; 
                                                 url                                                  
 ---------------------------------------------------------------------------------------------------- 
  https://packagecloud.io/timescale/timescaledb/el/7/x86_64/timescaledb-tools-0.8.1-0.el7.x86_64.rpm 
 (1 row) 

 ~~~ 

 If you try to fetch any content other than the one for which you have get a remote artifact, you'll get 404.

Back