/srv/irclogs.ubuntu.com/2013/03/27/#launchpad-dev.txt

* wgrant throws rocks at SKS02:07
StevenKwgrant: Oh?02:10
wgrantIts 404 message has changed02:10
wgrantThat's why we're getting oopses from it02:10
wgrantBut it doesn't actually crash the page02:10
StevenKWhat's one of the OOPSes?02:10
wgrantOOPS-7d16107fdc9d638d26333ce4668d524e02:10
StevenKI thought we dealt with both 404 and 500?02:12
wgrantWe do02:12
wgrantBut if the error message isn't plausible, we raise a soft OOPS02:12
StevenKAh02:12
StevenKAnd they changed it02:13
wgrantYes02:13
StevenKwgrant: So I can't find any OOPSes for "[^:]DistroSeries:+localpackagediffs"02:24
wgrantStevenK: Probably because nobody uses it, potentially because it doesn't work02:24
wgrantStevenK: https://code.launchpad.net/~wgrant/launchpad/sks-404-msg/+merge/15564702:31
StevenKwgrant: No fair landing something02:49
StevenKwgrant: Meh, that was probably fair enough to be a self-review. r=me02:50
wgrantProbably02:52
wgrantBut the r=wgrant in the log was getting a bit boring02:52
StevenKHaha02:53
StevenKOnly because the last 9 landings on the trot have been mine02:53
StevenKwgrant: It does load, though02:56
StevenKOf course, now it times out for me.02:57
wgrantStevenK: What or who loads?02:57
* StevenK shoots Murphy in the face.02:57
wgrantOh, +localpackagediffs?02:57
StevenKhttps://launchpad.net/ubuntu/raring/+localpackagediffs02:57
wgrant7.87s02:58
wgrantNice02:58
StevenK52 queries/external actions issued in 7.43 seconds02:59
StevenKYeah02:59
StevenKIt spends 300ms looking up the DSDs, and then 3.5seconds grabbing the publications03:00
wgrantYeah03:00
wgrantExplaining now03:00
wgrantIt's using SPR.spn, which is probably the main problem03:00
wgrantI missed another one :(03:00
StevenKCan you also explain why it runs the query four times?03:01
StevenKIt's Launchpad, not Santa Claus.03:01
wgrantHey, you were on the team that wrote that page, not me :)03:01
wgrantBut I'd get an OOPS and check what calls it03:01
wgrantBecause that's hilarious03:01
wgrant Total runtime: 90667.543 ms03:02
wgrantooh yeah03:02
wgrant350ms->65ms by dropping the SPR join03:02
StevenKwgrant: http://pastebin.ubuntu.com/5651202/03:03
wgrantOh right03:03
StevenKwgrant: Just check that I'm not going insane, and it is03:03
wgrantThis is the derpquery03:03
wgrantThat has the completely strange anti-optimisation technique03:03
wgrantTo try to prevent it from using the index that is probably now optimal03:03
wgrantAND SourcePackagePublishingHistory.archive+0 = Archive.id03:03
wgrant3ms03:04
* wgrant enbranchinates03:04
StevenKAh03:04
StevenKI was going to do that03:04
StevenKBeh eh03:04
wgrantNo'03:04
wgrantI get the trivial ones today, to let me escape from translations crap :)_03:04
StevenKAnd all four of them are different03:05
wgrantMeh03:05
wgrantI'll make them not suck03:05
StevenKderived_series vs parent_series03:05
wgrantThen we can separately eliminate the dupes03:05
wgrantAh03:05
wgrantAnyway03:05
wgrantNot so bad once they're a direct index scan03:05
wgrantWhat's the traceback?03:05
wgrantNot sure which func it is03:05
wgrantI guess I could just grep for +0...03:06
StevenKThat +0 might be a red herring03:06
StevenKI was pulling it from the query log03:06
wgrantNo03:07
wgrantI remember the query03:07
StevenKeager_load_dsds03:07
wgrantIt was deliberately used as an anti-optimisation technique03:07
wgrantAnd the archive join is just pointless03:08
StevenKTwitch03:08
StevenKIt's limited to purpose PRIMARY, though03:08
wgrant        # XXX: GavinPanella 2011-06-23 bug=801097: The + 0 in the condition03:08
wgrant        # below prevents PostgreSQL from using the (archive, status) index on03:09
wgrant        # SourcePackagePublishingHistory, the use of which results in a03:09
wgrantget the ID :)03:09
wgrant        # terrible query plan.03:09
wgrantYeah03:09
wgrantBut you know what we can do instead...03:09
StevenKFetch self.context.main_archive.id ?03:09
StevenKwgrant: Anyway, damn you for stealing my bug03:09
wgrantHmm03:10
StevenKNow I have to find another.03:10
wgrantMay not be able to do this,a ctually03:10
wgrantBecause it cares about the parent03:10
StevenK"#899003 deadlock detected when importing .po file" is likely going to die as a case of your chainsawing ?03:10
_mup_Bug #899003: deadlock detected when importing .po file <lp-translations> <oops> <rosetta-imports> <Launchpad itself:Triaged> < https://launchpad.net/bugs/899003 >03:10
wgrantUnlikely03:11
wgrantUnless I rewrite rosetta03:11
StevenKPity03:11
StevenKMaybe I should destroy the puller03:11
StevenKThat will keep me out of trouble for a long while03:11
wgrantHeh03:11
StevenKBut I have no idea where jelmer got up to03:11
wgrantA very very long while03:11
StevenKWe can't just transition the branches of type MIRRORED to code imports and destroy it?03:12
wgrantYou can get rid of mirrored branches just by migrating the existing ones, really, but that won't obviate the need for the puller.03:12
wgrantThe puller is still used for imports03:12
StevenKI'm thinking of the broken netstrings critical03:13
StevenKMigrating MIRRORED branches and dropping the type might close it, or at least drop it to Low03:13
wgrantI don't think so03:14
wgrantStevenK: https://code.launchpad.net/~wgrant/launchpad/bug-1160461/+merge/15565103:32
StevenKwgrant: v = ? Really?03:33
wgrantReally!03:33
wgrantI can change it if you want03:33
StevenKI would prefer view =03:34
StevenKAnd you're not trying to force a long line to be short enough03:34
wgrantwtf03:36
wgrantdsd indices are terrible03:36
wgrantStevenK: Fixed.03:40
StevenKI just saw03:41
StevenKYou're a terrible person03:41
StevenKr=me03:41
wgrantThanks03:42
wgrantAnd the 1s DSD-finding query is now mysteriously 2ms03:44
wgrant(* may actually be index, not actual mysteriousness)03:44
StevenKHaha03:45
wgrantStevenK: https://dogfood.launchpad.net/ubuntu/quantal/+localpackagediffs03:59
wgrantAnd that's without the DSD index03:59
wgrantStill slow, but that's hopefully just because DF is DF03:59
wgrantStevenK: https://code.launchpad.net/~wgrant/launchpad/localpackagediffs-rargh/+merge/15565704:10
StevenKwgrant: What's the index out of interest?04:17
wgrant(derived_series, status, difference_type)04:19
wgrantNot going to add it for now04:19
wgrantBut it's something we might want to look at later04:19
StevenKwgrant: Going to link 801097 to the MP?04:20
wgrantA good point.04:20
StevenKwgrant: r=me04:21
wgrantThanks.04:21
* StevenK glares at the critical list04:26
StevenKwgrant: I do wonder about a BugJob that does notification04:27
StevenKBut I worry that I'd get murdered04:27
wgrantStevenK: Sort of04:30
StevenKI'd get sort of murdered?04:31
wgrantDeferring recipient calculation by storing the criteria in a table would work04:31
wgrantBut it's a fair bit of work04:31
StevenKwgrant: Suggestions for what I should look at, then?04:32
wgrantUm04:32
wgrantStuff.04:32
wgrantAnd things :)04:32
StevenKThanks for being so very helpful. :-P04:32
StevenKI do wonder how txlongpoll is run, WRT 96086804:33
wgrantIt might almost be worth making another pass at the loggerhead criticals04:33
wgrantYou can probably fix several of those in one day04:33
StevenKBut it's loggerhead ...04:33
StevenKwgrant: How do I land stuff against loggerhead?05:06
StevenKHmmm, we're 7 revs behind05:07
wgrantShould just need to commit directly to trunk05:17
wgrantCheck the recent history05:17
StevenKwgrant: We have no codebounce on staging/qas ?05:31
wgrantStevenK: Yes, it's there05:32
=== _mup__ is now known as _mup_
=== teknico_ is now known as teknico
=== teknico_ is now known as teknico
=== BradCrittenden is now known as bac
=== frankban_ is now known as frankban
* jelmer waves13:18
czajkowskijelmer: boo13:18
jelmerStevenK: migrating MIRRORED branches to code imports should do the trick13:18
jelmerStevenK: I don't think there was a reason for not doing that, apart from the time it would take to manage that transition13:19
jelmerczajkowski: hey hey :)13:19
=== wedgwood_away is now known as wedgwood
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
=== teknico is now known as teknico_mobile
=== teknico_ is now known as teknico_mobile_
=== teknico__ is now known as teknico
=== teknico__ is now known as teknico_mobile
=== bac_ is now known as bac
=== wedgwood is now known as wedgwood_away
wgrantStevenK: Can you QA your loggerhead thing?23:54
wgrantStevenK: And shouldn't that LH task be Fix Committed?23:56

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