Package: reprepro Version: 4.16.0-1 Severity: wishlist X-Debbugs-Cc: [email protected]
Hi, for Tails we have a system that uses reprepro snapshots intensively (basically, a large subset of the Debian archive is snapshot'ed four times a day). And then, we use _removereferences (+ manually removing the corresponding directory in dists/) to free the snapshots we don't need anymore. But despite the cleanup operation (_removereferences), it seems that references.db keeps growing. As a result, some operations become very slow unless there's enough memory available to keep that file in the disk cache. FYI, we're talking of a (currently) 5.4 GiB references.db here. I'm sure that there must be a good reason (such as optimizing I/O) for the current behavior, and that's fine with me. But would it be possible to have one extra operation, that one could run from time to time, and that compacts references.db so that it uses only the disk space (and thus, the in-memory disk cache) that it needs? And, just in case I find someone ready to implement it: any pointer to where and how it could be done? Cheers, -- intrigeri

