/srv/irclogs.ubuntu.com/2011/02/25/#launchpad-yellow.txt

=== danilo-afk is now known as danilo
danilogary_poster, hey-hey, welcome :)13:01
gary_posterhey danilo :-)13:03
danilogary_poster, people want to remove our BSFs we just added, and I've been fighting for them to stay :)13:03
gary_posterdanilo, I was just reading your replies13:03
gary_posterok cool, danilo.  I guess we need to drop everything and look at this.  I'll be ready after the "delivery" meeting, if that works for you--have you had lunch yet?13:05
danilogary_poster, nope, not yet13:05
gary_posterheh ok13:06
danilogary_poster, should I? :)13:06
danilo"it's going to be a loooong call" :)13:06
gary_posterheh.  well, this is a bit of a short lunch for you.13:06
gary_posteryou think you can give me something to do while you have lunch after the call?13:06
daniloyeah, you can probably check if removing LEFT JOIN (and doing a regular JOIN, since we have BSFs for every SS now) will help with the query at all13:07
gary_posterok cool13:08
gary_posterthat will probably take all of 10 min, yeah? :-)13:08
danilogary_poster, you could also try just hand-crafting equivalent query without subselects and seeing how it performs (especially since staging now has all the BSFs production does)13:08
danilogary_poster, yeah, probably :)13:08
gary_posterheh ok13:08
gary_posterI actually don't have a strong opinion about not removing the BSFs temporarily.  It seems like it would be easy to remove them (the ones that are empty) and easy to add them back.  Is it more annoying than I think?13:10
danilogary_poster, the other one is probably going to take a bit longer and will still end up being a long query with many ORs, but at least it will not be repeated inside the single select13:10
gary_posterWe also could rethink the plan of "vanilla structural subscriptions must have an empty BSF"13:10
gary_posterBut that's a stop-gap, or something like it13:11
danilogary_poster, yeah, that's only help in the short-term, if we actually want people to use filters :)13:11
danilogary_poster, that's why I am holding out on landing my linking-table branch, because if we rethink that, maybe we'll need a StructuralSubscription reference in there13:11
danilogary_poster, so yes, I see it as an option as well13:12
gary_posterI see13:12
gary_postershort term: right.  I'm not clear on how bad the short term is.13:12
gary_poster5000 timeouts in the past week on this seems like a lot13:12
daniloyeah, it does13:12
danilobut that code will need fixing anyway, im(ns)ho13:13
gary_postersure13:13
gary_posterthis gives us time while letting people not have the timeout problem13:13
gary_posterwhich doesn't seem all bad13:13
daniloyep, agreed, so let's just do it13:13
danilogary_poster, the only thing we need to be careful about is not to remove any non-empty BSFs :)13:14
gary_posteryeah13:16
gary_posterI was thinking that the SQL ought not not be too bad for that, but that's coming from someone with rusty SQL13:16
gary_posterdanilo, are you willing to update the bug with our plan?13:17
gary_poster1) figure out some SQL to revert the empty BSFs13:17
gary_poster2) see how much better we can make the SQL with empty BSFs13:17
gary_poster3) consider allowing empty BSFs13:18
gary_posterI mean removing13:18
gary_posterthat really does still seem wonky :-/13:18
gary_posterbut the rule would not be too bad I guess13:18
gary_posterdanilo, since I don't hear from you, I'll do it.  Stop me if you've started :-)13:21
danilogary_poster, I didn't, sorry13:25
gary_posternp13:25
danilogary_poster, want me to figure out the SQL (before the call)?13:26
gary_posterdanilo, +1 thanks13:26
danilogary_poster, SQL up at https://pastebin.canonical.com/43954/, is it time for the call? :)13:35
gary_posterbac, benji, danilo, sorry, was trying to handle the bug and missed our call time.  mumble/kanban now-ish13:35
daniloheh, good timing, thanks :)13:35
bacok13:35
gary_poster:-)13:36
gary_posterbac, do you have some time for another call?  I want to give you the high-bandwidth version of my talk with Francis, then I'll broadcast the team with it in a mail14:49
bacyes14:50
danilogary_poster, hi, I am ready whenever you are done with bac :)15:12
danilogary_poster, SQL done on production15:47
gary_posterthank you danilo16:03
danilogary_poster, oh, btw, we haven't decided if I go and land my branch for the linking table between BugNotification and BugSubscriptionFilters?16:04
gary_posterdanilo, because the downside is that we are not sure anymore if we want BSFs for everyone, right?16:05
danilogary_poster, right, so we might need StructuralSubscription in the table as well (to be able to properly link to "generic" StructuralSubscriptions... or, maybe we can figure those out relatively painlessly as well?)16:06
danilogary_poster, there's probably no harm done in landing this, and if needed, we can introduce StructuralSubscription in there later, how does that sound?16:06
gary_posterdanilo +1 I was working myself there :-)16:06
danilogary_poster, heh, ok, that's what I'll do16:07
gary_posterbac, fwiw, dav glass has agreed to continue his support contract, so canonical-javascripters@... [yui-support] is a great option16:34
bacgary_poster: ok16:34
gary_posterdanilo, wow; that SQL is *really* redundant.  I have something I'm going to try.  staging is the right db, yeah?16:55
danilogary_poster, yep16:55
gary_posterok one sec16:55
=== Ursinha is now known as Ursinha-lunch
gary_posterdanilo, I think lines 1-29 are equivalent: http://pastebin.ubuntu.com/572256/17:06
gary_posterGetting output to compare now17:06
gary_posterthis runs in about 160 ms17:06
gary_posterso roughly factor of 1017:07
gary_posterwhen I say "I suspect logic of BugSubscriptionFilterTag is wrong" I mean in the original and this one--both.  Not something I introduced17:07
danilogary_poster, yeah, looks about right except that it'd have to be distribution=1 _OR_ distroseries=6 (that's how SSs work, with their constraint on only one being defined)17:08
gary_posterdanilo something like http://pastebin.ubuntu.com/572257/17:10
danilogary_poster, yep17:11
gary_posterk, comparing17:11
danilogary_poster, btw, the tags clause is likely to be correct as well (since the builder only adds clauses that would potentially match the bug, maybe it has no tags or something [whatever would make sense for them not to be added])17:13
gary_posterdanilo, results are identical (modulo ordering, which is not sorted so to be expected)17:15
gary_posterthe original took 1230.808 ms17:15
gary_posterso danilo, now what do I do :-P17:16
gary_postershould we have another call so I can be edumacated?17:16
danilogary_poster, oh, now you just fix it all :)17:19
danilogary_poster, a call is fine :)17:19
gary_poster:-) ok thanks17:19
benjiI somehow induced a conflict in shipit and naively nuked the directory and ran rocketfuel-get to get it back; it's taking forever (but making progress).17:27
benjiI guess I'll take lunch and hope it gets done soon.17:27
danilogary_poster, fwiw, the test in lib/lp/translations/tests/test_translationtemplatescollection.py can give you an idea how to start testing this stuff, though set-up is going to be wildly different :)18:07
=== Ursinha-lunch is now known as Ursinha
daniloenjoy the weekend all, bye18:17
=== Ursinha is now known as Ursinha-afk
bacgary_poster: I have talked to sidnei, posted to canonical-javascripters, and posted to the gallery-accordion forum.  hopefully i'll get some hints.20:25
gary_posterbac, cool.  I hope we get some bites.  Sidnei did not have anything immediately helpful, I take it?20:56
gary_posterAh, I see the report ("could not get their suggestions to work") in the email20:56
bacgary_poster: not really.  he suggested i investigate the 'contentUpdate' event but it seems to be firing appropriately and adding redundant fires had no effect20:57
gary_posterok20:58
gary_postertoo bad20:58
=== Ursinha-afk is now known as Ursinha

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