/srv/irclogs.ubuntu.com/2011/02/19/#launchpad-dev.txt

lifelessjam: have you set a commit message?00:01
wgrantlifeless: Do qastaging OOPSes not sync very often?00:02
lifelesswgrant: sadly no00:02
lifelessjam: its on the way00:03
wgrant:(00:03
jamlifeless: thanks!00:04
jamwgrant: if they are in the rsync list, you can get them yourself00:04
jamrsync tellurium::codehosting-qastaging-logs/ is stuff I used quite a bit00:05
lifelessjam: the point is to get them into the lp-oops microsite00:05
jamlifeless: ah, so nicely formatted, rather than just raw oops00:05
jamsure00:05
lifelessformatted and analysed00:05
jamanyway, thanks for the submission, I'm off to have some family time00:05
lifelessciao00:05
wgrantYeah, lp-oops is far better at formatting and analysing than I.00:09
wgrantlifeless: Bug 72159100:09
_mup_Bug #721591: Please make *-backports not automatic starting with Natty <soyuz-publish> <Launchpad itself:New> < https://launchpad.net/bugs/721591 >00:09
wgrantI am wondering how we should restrict to >= Natty...00:09
wgrantIt's a bit too permanent for FF.00:09
lifelessits a series thing right ?00:12
wgrantYes.00:13
wgrantWe could have a flag on distroseries.00:13
wgrantBut it will probably be on forever.00:13
lifelessI've marked the bug incomplete00:13
lifelessit doesn't describe what it needs00:13
wgrantIt does.00:13
wgrantWhat is incomplete about it?00:14
lifelessmaybe you understan it00:14
lifelessbut I read the spec00:14
wgrantThe spec says what needs to be done:00:14
lifelessand it looks like LP doesn't need to change at all, its an APT and synaptic change.00:14
wgrant - change soyuz to set NotAutomatic: yes in backports release files00:14
wgrant - add "ButAutomaticUpgrades: yes" - don't install automatically, do upgrade automatically00:14
lifelessthen put that in the bug in lp00:15
* wgrant comments.00:15
lifelessbugs that say 'follow a spec over ->' when that spec is a wall of text, are pretty unapproachable00:15
lifelesswgrant: fix up the description00:15
lifelessthats more useful than a comment00:15
wgrantTrue.00:16
lifelesswgrant: so, the way I'd approach this general problem, if doing this greenfield would be:00:16
lifelessuse the prototype pattern00:16
lifelesssetup a 'template' distroseries00:16
lifelessand have 'make a new distroseries' use the template for that distro00:16
wgrantWe already do that.00:17
lifelessanyhow, this seems specific to releases of Ubuntu, so its a series specific thing00:17
wgrantRight.00:17
lifelessI don't think a flag makes sense, its not 'server config' its data driven config00:17
wgrantIt just seems sort of wasteful to have it as a flag on DS when there is just a single transition.00:18
lifelesss/flag/featureflag/00:18
wgrantRight.00:18
lifelesswekk00:18
lifelessI'm fine doing it however you like00:18
lifelessI will note:00:18
lifeless - if its a config option somewhere, that implies that users may want to change it00:19
lifeless - if they /will not/ or /must not/ then an option is wrong00:19
lifeless - feature flags are things we want to change, as is launchpad-lazr.conf00:19
lifelessthis in fact a suite rule note a series rule, now that I'm more awake.00:20
wgrantBut it can't be hardcoded, because it is data-based.00:20
lifelesssure we can, if we want to hard code it.00:20
wgrantIt can become a suite flag when we model suites.00:20
lifelessits less flexible, and might be a poor engineering choice to hard code it.00:21
lifelessbut it might be a good choice to hard code it.00:21
lifelessI relaise that doesn't help you all that much00:27
lifelessman getCurrentSourceReleases seems a bit inefficient00:29
wgrantConvoluted, but it doesn't look toooo inefficient.00:32
wgrantAm I missing something?00:32
lifelesshttps://bugs.launchpad.net/launchpad/+bug/63615800:37
_mup_Bug #636158: BugTask:+index times out with many bug tasks/nominations (eg. Bug #1) <lp-bugs> <pg83> <timeout> <Launchpad itself:Triaged> < https://launchpad.net/bugs/636158 >00:37
lifelesswgrant: its querying the same stuff from distro level then distroseries level according to my casual trace here00:37
wgrantOh, completely forgot that it was used by Bugs.00:39
lifelessper nomination00:39
lifelessnot nomination00:39
lifelesstask00:39
lifelessanyhow00:39
lifelessit may be tolerable as a single lookup in a paeg00:39
lifelessbut we're doing a fair few00:39
wgrantDo you have a modern qas OOPS for that?00:39
wgrantOh.00:39
wgrantMine has synced now.00:39
lifelessOOPS-1875D380 is prod yesterday00:39
wgrantFinally.00:39
wgrantYes, but prod isn't fast yet.00:40
wgrantOOPS-1875QS3600:40
wgrantHah.00:41
wgrantLongest statement is 319 ms. Not bad.00:41
wgrantLots of repeated SPN and VPC queries :(00:42
lifelessyes00:42
lifelessI'm looking at SPN atm00:42
wgrantAnd Person itself.00:42
lifelessVPC will be some missing/incimplete eager loads00:42
wgrantHmm.00:42
wgrantVPC is eagerloaded.00:43
wgrantBut not completely, yeah.00:43
lifelesse.g. list(Person query) rather than PersonSet.eagerLoadPersonsByIds00:43
wgrantI wonder how expensive it would be to record tracebacks for queries.00:44
lifelessI'd like to do it on demand00:45
lifelessor when we're down to <50 queries on most pages00:46
lifelessit is nontrivial cost, but not terrible (unless doing 1000's of times :P)00:46
wgrantSure, only on demand.00:46
wgrantLike ++oops++tracebacks or something like that.00:46
lifelessbut the thing to remember is there is disk overhead in the oops, serialising etc.00:46
lifelesswgrant: +100:46
wgrantHmm.00:46
wgrantIt's querying for people that don't make it into the final page.00:46
wgrantThat's a bit odd.00:46
lifelessI would really be fine all the time, once we're down to sensible timeline counts00:46
wgranteg the Thai Loco Team.00:47
lifelesswgrant: owners of messages perhaps00:47
lifelesswe possibly want to turn memcache off too00:49
wgrantOhh.00:49
wgrantI think it's doing the release targetting permission check.00:49
wgrantThese are all product owners.00:49
lifelesslet me guess, thats expressed in python?00:50
wgrantOf course.00:50
wgrantIt's also buggy.00:50
lifelesspersistence layer should make this -so- much nicer00:50
wgrantPerhaps the rewrite can fix both.00:50
lifelessmemcache misses for all of it00:51
lifelessI think we should turn memcache off for this00:51
wgrantEr.00:51
wgrantWell, this is on ++oops++, so it is definitely going to miss :)00:51
wgrantBut yes, I think the utility is extremely limited in general.00:51
lifelessalso a few single bug subscroption lookups00:52
lifelessI bet its per question or something00:53
lifelessrepeated lookups for totem00:53
wgrantIt's nice that we have a pathological test case like this.00:53
lifeless)00:53
lifelessit does two __nonzero__ calls on bugwatches00:54
lifelessthats not cached by the resultset00:54
wgrantAt least __nonzero__ isn't so bad now.00:55
lifelessdepends on the query00:55
lifelessit may still materialize 50K rows00:55
lifelessclassy00:56
lifelesswe prejoin bugwatch00:56
lifelessthen we directly query bugwatch00:56
lifelesstwice00:56
wgrantWe do similar things in lots of places.00:56
lifelessthrice00:57
lifelessand more00:57
lifelessI wonder if its a per-task check00:57
wgrant        if check_permission("launchpad.Driver", target):00:57
wgrantYay, security adapters.00:57
lifelessits bracketed by milestone lookups00:57
wgrantSee, tracebacks handy.00:58
lifelessbrowser/bugtask.py - line 316300:58
lifelesswgrant: of course; I use them all the time ;)00:58
wgrantAlso, LaunchBag needs to die.00:58
wgrantlifeless: A line number that high is illegal.00:59
lifelessI might work on redoing oops tools tomorrow00:59
wgrantOn something searchable?00:59
lifelesstheres a few bugs I'd like to address01:00
lifelessmove the format to json01:00
lifelessmake pageid a primary focus for it01:01
lifelessmake it realtime01:01
wgrantlifeless: The targetting is not actually the expensive bit. It is just normal task attribute permission checks.01:01
wgrantYay.01:01
wgrantEasily cachable.01:01
lifelessrabbitmq loading of oopses01:01
lifelessget rid of the on disk store; just keep em in the db01:02
lifeless[but make it properly searchable as a necessary condition]01:02
lifelesspublic project01:03
lifelessflacoste: I bet you're gone now01:04
jmlI might fix the build tomorrow!01:09
jmlso I can land jam & my branches.01:09
jmlg'night.01:09
wgrantNight.01:09
lifelessnight01:11
LPCIBotYippie, build fixed!03:22
LPCIBotProject devel build (456): FIXED in 5 hr 22 min: https://hudson.wedontsleep.org/job/devel/456/03:22
LPCIBotLaunchpad Patch Queue Manager: [r=adeuring][no-qa] Fix factory.makePOTMsgSet default sequence.03:22
lifelessSpamapS: hey05:28
lifelessSpamapS: if you're around... where is the cassandra stuff, and are there lucid builds05:29
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
lifelessjml: around?07:43
=== almaisan-away is now known as al-maisan
=== ]reed[ is now known as [reed]
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== mhall119_ is now known as mhall119
=== maxb_ is now known as maxb
lifelessjml: hai18:43
lifelessjml: oh hai23:40

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