owned this note changed 3 years ago
Published Linked with GitHub

pulp_container sync duplicate key investigation

  • After prefetching, there is no need for further async looping over prefetched data.
  • Less async in RemoteArtifactSaver reduces the likelyhood for conflicts drastically.
  • Adding ignore_conflicts=True to the bulk_create call allows the sync to succeeded (obviously).
  • The RemoteArtifactSaver stage is only instanciated once and run is only called once.
Select a repo