/srv/irclogs.ubuntu.com/2012/02/18/#launchpad-dev.txt

cody-somervilleAlthough it's a provincial holiday so most of the people here in Ottawa who work for Federal government won't have it off, lol.00:01
cody-somervilleoops. so much for family day.00:01
cody-somervilleDoes setting authorized_size to None disable the quota checking00:03
cody-somerville?00:03
cody-somervilleah. It's not possible.00:07
cody-somervilleHowever, weirdly distribution archives still have the authorized_size attribute but it is None.00:07
* cody-somerville wishes running just a single doctest didn't take so long.00:09
wgrantHeh00:46
cody-somervilleActually, I guess it is possible.00:46
cody-somervillebut it'll probably cause the upload processor to crash00:46
wgrantlpnet DB CPU usage has dropped by around 70% of a core in the last week, it appears.00:46
wgrantcody-somerville: I expect that it's possible.00:47
wgrantBut the form might not allow it.00:47
* wgrant tries.00:47
cody-somervillewgrant, it allows it00:47
wgrantAh00:47
wgrantMaybe if a PPA has it set it will just crash00:47
wgrantYou're probably right.00:47
* wgrant checks the code.00:47
cody-somerville        MEGA = 2 ** 2000:47
cody-somerville        limit_size = self.archive.authorized_size * MEGA00:47
cody-somerville^^ that'll crash00:47
cody-somervilleYou can't multiple None00:47
wgrantIndeed. Is that under an if archive.is_ppa?00:47
wgrant        if upload.is_ppa:00:48
wgrant            self.checkArchiveSizeQuota(upload)00:48
wgrantSo yeah00:48
cody-somervilleIt probably shouldn't do that, it should probably check00:49
cody-somervilleand the code fixed to see if authorized_size is None00:49
cody-somervilleholy crap00:49
wgrantYes, but that would make sense.00:49
wgrantAnd you know our policy about Soyuz.00:49
cody-somervillewhy does it take so long to do a commit?00:49
wgrantIf a test commits we have to tear down the DB.00:50
wgrantWhich takes a couple of hundred ms00:50
cody-somervilleNo. bzr commit00:50
wgrantIf it doesn't commit, we can just abort the txn.00:50
wgrantAh00:50
cody-somervilleit's been going at it for like 5 minutes00:50
cody-somervillerepacking stuff00:50
wgrantAh, your repo hasn't been touched in a while?00:50
cody-somervilleI just branched it like yesterday00:50
wgrantbzr repacks every order of magnitude of revisions, I believe.00:50
wgrantHm, it's possible we've hit a threshold, but I wouldn't think so.00:51
cody-somervilleIt says 'Saving data locally - Stage: repacking chk:chk node n/n'00:51
cody-somervilleit's already repacked the inventory00:51
cody-somervilleand other stuff00:51
cody-somervilleI've got another 14k chk nodes to go, lol00:52
wgrantHm00:52
wgrantThere's about 118000 revs in devel00:52
wgrantSo I wouldn't expect a repack to happen around now.00:52
cody-somervilleugh. now it's repacking texts and there is 400k of them, lol.00:52
wgrantBut maybe I misunderstand.00:52
* cody-somerville has a party to go to and really wants to get this branch up for review before he goes :(00:53
lifelesswgrant: its OOM(base 10) size of pack, and every multiple of each OOM, of that size01:19
lifelessso 118000 will be doing a 1K rev pack, probably, but that should be near-instant01:19
wgrantAh01:20
lifelessalso a brand spanking new repo should be under all the thresholds and not pack at all01:20
lifelesshowever, 'branched yesterday' does not imply brand new repo01:20
=== _mup__ is now known as _mup_
=== _mup__ is now known as _mup_
lcanashi guys, I'm having a look at the launchpadlib to get data from the platform. I would like to get the bugs for a given project and I can't manage to find out how .. any clues?21:58
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away

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