On Mon, 2009 Aug 17 23:31+0100, Mark Hindley wrote: > > It isn't that there would be multiple databases, just that the size > would/could increase dramatically. > > Currently each .deb has it's checksums in the database. About 30MB for > the Debian distro. No hosts or paths are stored. Filenames are > considered unique. > > If we change to the long naming scheme, when each index file is cached > and parsed the contained checksums will have to be stored against the > relevant .debs but with the hostname and path prepended. So we will > end up with a complete set of checksums for each host that is cached > in the server.
Okay, now I see what you're getting at. This shouldn't be an issue, no more than it would be for the regular index files. The index files contain the pool/* path for each package, but not the hostname-part; the hostname is taken from the index filename itself. You join the one to the other at the time that you read in the index files (as would happen in apt-cacher-cleanup.pl, once I'm done with it). Same for the checksum databases. The databases would be a bit bigger, since we'd be storing full pool/* paths and not just package basenames, but hey, it's for a good cause :-) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org