couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damien Katz <>
Subject Re: exdev regression on trunk when using multiple mount points
Date Thu, 29 Jul 2010 01:46:07 GMT
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.


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" <> 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...

View raw message