File: day_131__more_bug_squashing.mdwn

package info (click to toggle)
git-annex 5.20141125%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 37,832 kB
  • sloc: haskell: 42,603; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (11 lines) | stat: -rw-r--r-- 649 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
Squashed three or four more bugs today. Unanswered message backlog is down
to 27.

The most interesting problem today is that the git-repair code was using
too much memory when `git-fsck` output a lot of problems (300 thousand!). I
managed to half the memory use in the worst case (and reduced it much more
in more likely cases). But, don't really feel I can close that bug yet,
since really big, really badly broken repositories can still run it out of
memory. It would be good to find a way to reorganize the code so that the
broken objects list streams through git-repair and never has to all be
buffered in memory at once. But this is not easy.