Issue #1300
closedDirectory Importer may perform incorrectly if two imports are running concurrently which share the same importer
Description
During the conversion to mongoengine, jortel observed that sections of the importer code could produce incorrect results if two repository syncs that both use that importer are performed at the same time. Specifically it was observed in directory.pyL#259.
I recommend that we wait to fix this until after we have migrated to postgreSQL. We can use transaction support to ensure the consistency of the data layer in critical sections of code which require that. This is a good example of one of those.
Updated by bmbouter about 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.