couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "d (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-602) Cannot use NFS for storage
Date Wed, 11 Apr 2012 12:22:16 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251498#comment-13251498
] 

d commented on COUCHDB-602:
---------------------------

Although this bug was opened for 0.10 and the current version as i write this is 1.2.0, I
thought it may be interesting for others that since at least 1.1.1. all tests pass successfully.
I have the datafiles on NFS (NetApp toaster), mount options:
{noformat}
rw,rsize=32768,wsize=32768,nfsvers=3,hard,tcp,nointr,lock,noatime,timeo=700,retrans=3
{noformat}

Ubuntu 10.04/12.04 LTS 64bit Server with backported couchdb
                
> Cannot use NFS for storage
> --------------------------
>
>                 Key: COUCHDB-602
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-602
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 0.10
>            Reporter: Nils Breunese
>         Attachments: error.gz
>
>
> Our hosting provider claims they cannot upgrade our CouchDB installation from version
0.9.1 to 0.10 as the test suite for 0.10 is failing.
> This is a translation from their report:
> ----
> CouchDB can't handle having its data directory on NFS.
> It seems CouchDB tries to do this:
> 1 mkdir test
> 2 start process X with fd under test/foo
> 3 do the work
> 4 rm test/foo
> 5 rmdir test
> 6 kill process X
> When test/ is on NFS:
> In step 4 an open file is being removed. NFS doesn't really support this 
> and the workaround is that the client implementation does
>    mv file .nfsXXXXXXX
> However, the 'rmdir test' in step 5 then cannot succeed anymore, since 
> the directory is not empty. This eventually causes CouchDB to crash.
> In earlier versions of CouchDB the open/rm/rmdir/kill order may have 
> been different, for instance open/rm/kill/rmdir.
> ----

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message