couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damien Katz <dam...@apache.org>
Subject Re: exdev regression on trunk when using multiple mount points
Date Wed, 28 Jul 2010 23:28:27 GMT
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 deleted.

-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
> http://github.com/rnewson/couchdb/commit/fbbc42d0787e33ecc894abe50333fc1dcebeb5d5
> and would be grateful for a review before I commit to trunk. I think
> we want/need this for 1.0.1
> 
> Night,
> B.


Mime
View raw message