Comment 2 for bug 613821

Revision history for this message
Данило Шеган (danilo) wrote :

I think I've worked around the problem for now. Helpful query:
select path, importer, distroseries, sourcepackagename, productseries, count(id)
  from translationimportqueueentry
  where status in (1,5)
  group by path, importer, distroseries, sourcepackagename, productseries
  having count(id) > 1;

That uncovered that https://translations.launchpad.net/astrid/trunk/+imports was to blame, but I am not sure how almost identical sets of files got imported. Race condition? I.e. while one was being unpacked, it was uploaded again and the checks were done at the start and then just inserted into the queue.