/srv/irclogs.ubuntu.com/2012/04/22/#bzr.txt

=== yofel_ is now known as yofel
=== r0bby is now known as robbyoconnor
maxbHm.11:09
maxbWe have a bit of a silly bug in the UDD importer11:09
maxbevery 5 minutes, it checks for new source publications on launchpad published since the last publication it saw previously *minus 10 minutes fudge factor*11:09
maxbWhich means every 5 minutes it re-runs the import job for whatever package was most recently uploaded, plus any uploaded within 10 minutes of that11:10
maxbWhich would be why it's currently got some packages queued for 25 consecutive import jobs :-(11:11
fullermdIt never hurts to make double sure.  And triple sure is even better.  Which means quadruple sure is totally worth it.  Therefor...11:21
maxbInsanity by induction :-)11:41
fullermdInducing insanity is just one of my skills.11:43
* maxb wonders if there are any SQL experts around17:31
maxbUPDATE jobs j JOIN (SELECT MAX(id) maxid, package, COUNT(*) FROM jobs WHERE active AND type = 3 GROUP BY package HAVING COUNT(*) > 1) k ON j.package = k.package SET j.active = 0 WHERE active AND type = 3 AND j.id != k.maxid;17:31
maxbAppears right to me to prune the UDD importer queue of duplicate entries in type 3 (new entry)17:32
maxbOr I guess I could just let it chug through them for a few hours longer17:33
=== ajmitch_ is now known as ajmitch
=== bradm_ is now known as bradm

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!