Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-602

Cannot use NFS for storage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 0.10
    • None
    • Test Suite
    • None
    • Committers Level (Medium to Hard)

    Description

      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.


      Attachments

        1. error.gz
          20 kB
          Nils Breunese

        Activity

          People

            Unassigned Unassigned
            breun Nils Breunese
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: