/srv/irclogs.ubuntu.com/2010/04/10/#launchpad-dev.txt

jelmermwhudson: we need a better story for dealing with batched imports00:05
jelmermwhudson: bzrlib should just have a base class that takes care of regular repacking, etc00:05
mwhudsonjelmer: please put your thoughts on https://bugs.edge.launchpad.net/launchpad-code/+bug/559678 :)00:10
mupBug #559678: incremental import does full repack 3 times <code-import> <Launchpad Bazaar Integration:Triaged> <https://launchpad.net/bugs/559678>00:10
thumperthe import is going well though...00:14
jelmermwwill do00:19
jelmermwhudson: iwll do00:23
jelmerargh, lagggisch \00:27
jelmerthumper: it's still a lot slower than a local import00:28
jelmerthumper: that should be fixed once we start caching Tree objects00:28
thumperwhen will we start caching Tree objects?00:49
mwhudsonthe currently running import is way slower00:51
mwhudsoni think strawberry is a vm slice though, so that might be a factor00:51
jelmerthumper: when jam finishes his pack collection refactoring00:54
dhasthaNeed help: An error occurred during a connection to translations.launchpad.dev.01:41
dhasthaSSL received a record that exceeded the maximum permissible length.01:42
dhastha(Error code: ssl_error_rx_record_too_long)01:42
rockstardhastha, are you using trunk?01:44
dhastha_rockstar, yes i asked trunk. I restarted apached. now its working01:54
lifelessmwhudson: jelmer: repacking should already be incremental only02:53
lifelessjelmer: you're probably overriding / changing something.02:53
lifelessfetch knows how to incrementally repack imported packs only.02:53
jelmerlifeless: I'm doing manual commit_write_group calls every 1k revisions02:54
jelmerlifeless: I'd like that logic to be in bzrlib rather than the individual plugins02:54
lifelessjelmer: where the code is is orthogonal to whatever bug you have02:54
lifelesswhy is it doing a full pack 3 times?02:55
jelmerlifeless: I don't know why it's doing 3 repacks, I just see repacks regularly during imports02:55
lifelessit should incrementally pack, not full repack02:56
jelmerlifeless: I don't know if it does a full or incremental repack02:56
jelmerit doesn't seem like a full repack to me, but it might be different for mwhudson02:56
lifelessunless either a) you call pack(), or b) you insert a fetch stream with a differing serialiser (and that would be incremental using the pack hint)02:56
jelmerlifeless: basically I'm gathering the pack hints for all write groups I commit (every 1000 revisions) and then specify that list of pack hints to target.pack()02:59
* jelmer clarifies his comment03:00
lifelessjelmer: after 10 write groups, bzr will autopack anyway.03:09
lifelessjelmer: I think you should be less agressive about triggering a manual pack03:10
lifelessthe only things you will get major benefit from packing are those things that have never been packed.03:10
jelmerlifeless: I'm only triggering a pack after all revisions have been fetched and I specify the gathered pack hints03:10
lifelessjelmer: yes, I get that. its still more agressive that needed, I suspect03:11
jelmerlifeless: The fact that after 10 write groups bzr autopacks anyway is one of the reasons why I'd like to see a helper in bzrlib that can take care of determining how often to create write groups03:12
jelmerlifeless: rather than optimizing the fetchers in bzr-git/bzr-svn and bzr-hg independently03:12
lifelessjelmer: I'm not arguing for or against code placement.03:12
jelmerlifeless: I realize that03:12
lifelessjelmer: its a distraction in this discussion03:12
jelmerI guess my comment probably isn't very relevant for this bug03:12
lifelesswhich is, after all, on the weekend.03:12
lifelessI suspect we need to change the pack hint definition slightly so you can tell if its the pack you added, or a packed version of same/similar.03:13
lifelessif you wanted to do that, I don't think there are backwards compat implications, as its currently defined as an opaque hint03:14
jelmerI might have a look at that at some point03:18
lifelessso what I'm suggesting is03:19
lifelessyou do something like (if not hint.was_repack: hints.add(hint)03:19
lifelessrather than your current simple 'add the hints together'03:19
jelmerthanks03:21
jelmerMy brain clearly has stopped working so I'm getting some sleep, way too late here03:21
jelmergnight03:22
lifelessgnight03:22
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
jmlsidnei, I've just submitted two really simple patches to zope-dev. Could I tempt you into landing them & maybe even releasing the respective components?18:50
sidneijml, appended to my todo. :)22:23

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