Project

Profile

Help

Task #8960

Updated by pulpbot almost 3 years ago

 

 **Ticket moved to GitHub**: "pulp/pulpcore/2021":https://github.com/pulp/pulpcore/issues/2021 




 ---- 


 I've [confirmed](https://github.com/pulp/pulpcore/pull/1367#issuecomment-861757194) that when an import happens, it bumps the timestamp_of_interest for artifacts and content so that when the import gets to the repository version creation step, the artifacts/content are still there.  

 However, I am not so sure that there isn't a possibly a race condition with django-import-export that could occur between when it selects the record(s) and then updates them. In fact, given the async problems we've seen in the past, I think it's likely. 

 I know we fixed another error similar to this: 

 https://pulp.plan.io/issues/8633 

 And perhaps our fix for #8633 might save us here: the fix added code to retry the import if it experienced errors and perhaps that will also apply to this situation where an artifact/content goes missing before it's updated. We need to confirm this though.  

Back