I worry about installations with many many databases (like Canonical UbuntuOne 
with over a million). Walking the dir structure to look for .delete files would 
take a very long time. Though I suppose it could scan it async and not block 
server operation.

-Damien


On Jul 28, 2010, at 5:56 PM, Randall Leeds wrote:

> Hmmm. Would it be crazy to walk the tree nuking the .delete files on startup
> instead?
> 
> Sent from my interstellar unicorn.
> 
> On Jul 28, 2010 5:42 PM, "Damien Katz" <[email protected]> wrote:
> 
> No, it moves the files to a fixed subdirectory (".delete"), and on start-up,
> clears out that subdirectory. So if you crash after the rename to the
> directory, but before the delete, on the next startup it will complete the
> deletion by nuking all the files in that directory.
> 
> -Damien
> 
> 
> On Jul 28, 2010, at 5:06 PM, Randall Leeds wrote:
> 
>> Damien,
>> Isn't that the current behavior, too...

Reply via email to