Indexing fails on a SVN repository which has a large binary file

XMLWordPrintable

    • Severity 2 - Major
    • 1

      Summary

      Indexing fails on a SVN repository which has a large binary file.

      Environment

      • Use SVNKit for the subversion client

      Steps to Reproduce

      1. Add SVN repository to FishEye
        • Use file:// protocol to access the repository
      2. Commit a large binary file to the repository
      3. Start full indexing on the repository

      Expected Results

      Indexing should be completed as expected.

      Actual Results

      Indexing failed with the following exception.

      2017-11-02 00:15:05,093 INFO  [IncrPing1 test_svn ] fisheye RepositoryEngine-startPause - Repository scanner paused. Error: java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E160004: Can't read length line from file /home/svn/test/db/revs/0/1: Input length = 1
      

      Notes

      • Set Include/Exclude Paths on the problematic large binary file couldn't be the workaround for this problem
      • The problem didn't occurred in case that http:// protocol was used to access the repository
      • The problem didn't occurred in case that native SVN is used for the subversion client

      Workaround

      1. Use http:// protocol instead
      2. Use native SVN instead

            Assignee:
            Unassigned
            Reporter:
            Yuki Okamoto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: