File: day_131__more_bug_squashing.mdwn

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
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.