Does "test-write" ever get expunged?

dormando dormando at rydia.net
Sun Apr 13 08:05:21 UTC 2008


1) yes, that's the patch I'm referring to. except you can't _count_ on 
the delete working, so you can't just pick a random filename.
2) because it doesn't matter?

mike wrote:
> 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