]> arthur.barton.de Git - bup.git/commit - t/test.sh
midx: the fanout table entries can be 4 bytes, not 8.
authorAvery Pennarun <apenwarr@gmail.com>
Tue, 2 Feb 2010 02:34:56 +0000 (21:34 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 2 Feb 2010 02:34:56 +0000 (21:34 -0500)
commit1732e801b41e3c56c65055c13a79d11336d2ed64
treec4e1d93eaa6a3200d554796a91516cd9ba37d670
parent11f86ebed112fa8305271388c71248a51740b644
midx: the fanout table entries can be 4 bytes, not 8.

I was trying to be future-proof, but it was kind of overkill, since a 32-bit
fanout entry could handle a total of 4 billion *hashes* per midx.  That
would be 20*4bil = 80 gigs in a single midx.  This corresponds to about 10
terabytes of packs, which isn't inconceivable... but if it happens, you
could just use more than one midx.  Plus you'd likely run into other weird
bup problems before your midx files get anywhere near 80 gigs.
cmd-midx.py
git.py
t/test.sh