/srv/irclogs.ubuntu.com/2017/03/30/#juju-dev.txt

hmlanastasiamac: do you have a few minutes for an HO?  prep on bugs.00:00
anastasiamachml: for u - anytime!00:00
hmlanastasiamac: takeover my squad standup HO again?00:01
anastasiamachml: i'll setup a eg meeting for this.. gimme a sec..00:01
hmlanastasiamac: sure00:01
anastasiamachml: should b in ur calendar, m in HO now00:03
hmlanastasiamac: saw it, trying to get thereā€¦ the double quotes are just ringing.  :-)00:03
anastasiamack ;)00:03
wpkanastasiamac: everything ok, just commenting on babbageclunk talking to babbageclunk :)00:09
babbageclunkwpk: It's not surprising really, I talk to myself more than ever since I started working remotely.00:11
menn0wallyworld: do you happen to know why we don't create new sessions when running transactions, but do when querying?01:18
wallyworldmenn0: no, not off hand. i guess we should be consistent though. not sure why there was that difference01:19
menn0wallyworld: i'm wondering if that's hurting performance. AFAICS all transactions use the State's own session.01:21
wallyworldwe only started creating copies of sessions due to sessions being close under us and panicing01:21
wallyworldthere's 2 modes - copy and clone (from memory)01:22
menn0yes that's right01:22
menn0for txns we don't do either01:22
wallyworldi don't really have an insight at this stage as to the reasoning01:23
menn0wallyworld: actually ignore everything I just said01:23
menn0wallyworld: I found the session copying01:23
menn0all good01:23
wallyworldthat's good because i was sarting to wonder wtf01:24
wallyworldaxw: babbageclunk: standup?01:32
babbageclunkdoh, sorry01:32
* babbageclunk needs to duck out for a bit.02:01
thumperanyone... https://github.com/juju/description/pull/1002:17
* anastasiamac looking02:20
thumperaxw: got a few minutes?02:29
axwthumper: yup?02:29
thumperactually... I think I'm ok02:29
thumperlet me try something02:29
* thumper mutters02:30
thumperaxw: actually, quick call could help02:30
thumperand you can tell me if I'm crazy or not02:30
axwthumper: don't need a call for that... ho ho02:31
axwthumper: sure, umm, friday standup hangout?02:31
thumpersure02:31
thumperanastasiamac: thanks02:44
anastasiamacthumper: \o/02:44
thumperwallyworld: I'm going to put the state.Export of remote applications behind a feature flag because it doesn't handle status02:55
thumperand add a skip to the test until you fix it02:56
* thumper thinks...02:56
thumperperhaps I'll just add a skip to the test02:56
thumperwallyworld: should I file a bug for it?02:56
wallyworldthumper: it will only have any to export if the cross-model flag is turned on02:57
wallyworldso without cross-model flag it should not be an issue02:57
thumperbut it is broken02:57
thumperwell... no02:57
thumperbecause state.Export tries02:57
thumperand it not fails a more strict export test02:58
thumpers/not/now02:58
thumperthere is a status document for the remote app created02:58
thumperthat isn't exported02:58
thumperand the remote application in the description package doesn't support Status02:58
thumperso it is missing bits02:58
thumperso... how do you want to limit this?02:58
thumperat the very least, the test needs a skip02:59
wallyworldok, we can skip the test. in production it will not happen as there are no remote apps02:59
wallyworldi'll add a card to our board02:59
thumpersure, so do you want a bug?02:59
wallyworldi'll just add a card03:00
thumperk03:00
wallyworldif we filed bugs afor all the cmr work, there would be 1000000s03:00
wallyworldare you landing anythng? i can skip the test as a drive by03:00
thumperI am landing a more strict test03:02
thumperso I'll and the skip as it is my code causing it to fail03:02
wallyworldok03:03
wallyworldbabbageclunk: here's a small PR to rename the facade watcher api https://github.com/juju/juju/pull/717403:05
babbageclunkwallyworld: ok, looking03:10
babbageclunkwallyworld: how's the flooding?03:19
wallyworldbabbageclunk: hey, ok at the moment, am keeping an eye on it03:25
thumpernext bit: https://github.com/juju/juju/pull/717603:45
anastasiamacthumper: looking :D03:45
thumperI'm off to a BJJ seminar and grading now03:45
thumpercatch ya tomorrow03:45
wallyworldbabbageclunk: did you want a final catchup before you go for the day?03:46
babbageclunkwallyworld: oh, yup - I'm around for a bit longer but let's do it now.03:47
wallyworldok03:47
menn0thumper, axw: here's the txn pruning fix: https://github.com/juju/txn/pull/2205:05
axwmenn0: looking in a sec05:05
menn0thumper, axw: it hardly uses any memory and is so much faster05:05
axwmenn0: awesome :)05:06
menn0173% in my test05:06
axwmenn0: how do you figure 173%? 154->11 is an order of magnitude05:09
* axw reviews the actual code05:09
axwmenn0: also, were you running on a recent db with the "s" index I just added?05:15
menn0yeah 173 isn't right05:15
menn0axw: should be approx -93%05:16
menn0axw: no, this was old dump from a production issue05:16
axwmenn0: I'd be curious to know how much faster it'd run with the index, since the aggregation pipeline should use that?05:16
menn0axw: I believe the agg pipeline uses indexes05:17
axwanyway, it'll only be better, not worse05:17
menn0axw: loading all the txn ids now takes about 2 mins on my machine with that db dump. it's a significant part of the 11 mins but not the biggest part.05:18
axwmenn0: ok, not too bad05:18
menn0axw: i've got to stop for now but will be back later on05:20
menn0i want to get this merged and used by juju05:20
axwmenn0: no worries. still reviewing, should be done by then05:21
jammenn0: I reviewed your patch05:52
anastasiamacveebers: we have troubles landing https://github.com/juju/juju/pull/7175 for "ciritcal" hml fix06:23
anastasiamacveebers: because of grant test...06:23
anastasiamaccan we make it gate landing past beta2?... or make the test more reliant?06:24
wallyworldi am assuming it is flakey because the landing before passed ok06:25
wallyworldand the one that fails is only an openstack change06:25
veebersanastasiamac: ah I wonder if the test fix for that didn't land. One sec I'll make sure the machines have the right version of code06:28
anastasiamacveebers: \o/06:28
veebersanastasiamac: note there was a fix for the grant/revoke password issue that balloons and i discussed this morning, it's possible that machines didn't get the update06:29
anastasiamacveebers: if it's something that u can do, we can land the fix that is currently blocking beta2... :D06:30
veebersanastasiamac: aye. If this doesn't work we'll get it unblocked. It's possible that if a run is in motion now for that branch it'll fail (as the update is going out now) but the next after that should be fine. And if it isn't we'll change the grant/revoke so it's not blocknig merge06:31
anastasiamacveebers: awesome - tyvm!06:31
veebersanastasiamac: I'm just going out for food. If that run fails for that branch, retry it if that one fails I'll fix it06:32
anastasiamacveebers: k. will do06:35
menn0axw, jam: thanks for your reviews. I've responded, sometimes in depth :)08:53
axwmenn0: thank you for fixing08:53
frankban|afkaxw: could you please take a look at this quick branch? https://github.com/juju/juju/pull/717913:08
jamfrankban|afk: axw: I think we'd need a team review before we add a dependency13:16
frankban|afkalright13:17
=== frankban|afk is now known as frankban
jamwpk: sorry I missed standup. my IRC has been flaky and I lost track of time13:28
jamwant to meet quickly?13:28
wpkkk13:28
wpkwaiting for you13:28
jamfrankban: any chance you could send us some details about why that particular library, possible alternatives, etc?14:10
frankbanjam: didn't do too much research, I started by doing it without an external library, and when the code started to grow I checked if there was already a lib, and that one from nytimes is the first result on google for "golang gzip http". the code seems similar to what I was originally writing, except a bit more sophisticated (sync.Pool), but it's tested and has benchmarks, so I went for it. The API is14:23
frankbanreasonable, basically just a decorator fo http.Handler. I'd have no problem to switch to gorilla https://godoc.org/github.com/gorilla/handlers#CompressHandler if you prefer14:23
jamfrankban: offhand we're already using gorilla for websocket it might make more sense14:24
jambut I haven't reviewed either package14:24
mupBug #1662857 changed: cannot go get the source code  <juju-core:Confirmed> <https://launchpad.net/bugs/1662857>14:26
frankbanjam: the gorilla one seems more straightforward. the nytimes one, on the other end, does not create a gzip writer for every request. it's a tradeoff, gorilla is more known as a lib I understand14:29
jamfrankban: ultimately there is the burden of "how do we get patches, who maintains it, etc" where it feels gorilla is more likely to get updates14:29
frankbanjam: ok, let me move that to using gorilla14:30
mupBug #1662857 opened: cannot go get the source code  <juju-core:Confirmed> <https://launchpad.net/bugs/1662857>14:32
mupBug #1662857 changed: cannot go get the source code  <juju-core:Confirmed> <https://launchpad.net/bugs/1662857>14:38
frankbanjam, axw: ok updated https://github.com/juju/juju/pull/7179 to use gorilla/handlers15:40
=== akhavr1 is now known as akhavr
=== frankban is now known as frankban|afk
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== dames is now known as thedac
=== urulama is now known as urulama|afk

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