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 00:41:56 GMT
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.


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

> Damien,
> Isn't that the current behavior, too? Now the files are just scattered
> around instead of in one directory.
> On Wed, Jul 28, 2010 at 16:28, Damien Katz <> wrote:
>> The problem doing it this way is what happens if there is crash between the rename
and the actual delete. Then you'l have a large file stuck on the file system, never actually
>> -Damien
>> On Jul 28, 2010, at 4:20 PM, Robert Newson wrote:
>>> All,
>>> It used to be possible to mount multiple volumes under
>>> /var/lib/couchdb and direct databases to them using embedded %2f's.
>>> This broke recently when a central .delete directory was introduced.
>>> The file:rename attempts to cross filesystems and fails with EXDEV.
>>> I have fixed this at
>>> and would be grateful for a review before I commit to trunk. I think
>>> we want/need this for 1.0.1
>>> Night,
>>> B.

View raw message