Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3501

Repositories mounted over NFS don't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5.x
    • 1.6.11
    • svnserve
    • None
    • NetBSD

    Description

      At least on NetBSD (see Problem Report pkg/40229), Subversion 1.5 doesn't work with repositories 
      residing on NFS-mounted file systems (at least not with a NetBSD 4.0 NFS server). With 1.4, they do 
      work.
      
      The problem seems to be related to the fix of Issue 1896. Due to NFS cacheing, files that have already 
      been deleted may re-appear after the directory rewinding, causing svn_io_remove_dir2() to fail. 
      Disabling the rewind apparently "fixes" the problem.
      
      I suppose one could either build a list of all files to be deleted beforehand, as suggested by Greg 
      Hudson in the comments to said Issue; or, one could just ignore any ENOENT errors -- I can't think of 
      any downside of that, but I might be wrong.
      
      The problem forces me to stick to subversion 1.4.
      
      I've brought up the subject on dev@ at
      http://subversion.tigris.org/ds/viewMessage.do?dsMessageId=2392271&dsForumId=462
      and
      http://subversion.tigris.org/ds/viewMessage.do?dsMessageId=2398903&dsForumId=462
      
      I will be happy to provide more detailed information (ktrace of svnserve, tcpdump of NFS traffic) should 
      the problem turn out to be specific to NetBSD or other aspects of my installation.
      

      Original issue reported by edgar_fuss

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: