Does "test-write" ever get expunged?

mike mike503 at gmail.com
Sun Apr 13 08:02:59 UTC 2008


Seems to me a somewhat trivial process.

1) issue a delete after a successful GET
2) have the server periodically do garbage collection (which might be
the 10k files you're talking about, but why not set it to say, 50
files or something much lower? Why grow a directory index so large
with unneeded files?)

On 4/13/08, dormando <dormando at rydia.net> wrote:
> You can safely ignore them... They'll create about ten thousand :)
>
> They don't take any space, it's just an artifact of developing with it.
>
> There was a patch sent to the list (sorry, I never followed up) which issued
> a delete, but it also removed the 10,000 limitation which I didn't like. You
> could apply that, keep the 10,000 file max (in case deletes fail), and it
> should just keep the dir clean.


More information about the mogilefs mailing list