Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1358

Copying a file (in FileBinaryInputStream) should not take a long time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha1
    • 3.0.0.Alpha1
    • JCR
    • None

      The problem is manifesting itself on Windows, but only because the FileSystemBinaryStore tries to rename a temporary file to move it into the FileSystemBinaryStore's storage area. Thus, because the rename doesn't work on Windows, the FileSystemBinaryStore reverts to copying via streaming. This copying process works, but is taking far too long.

      We need separate tests that verify the copy logic we're using is fast enough, and that we're correctly buffering the content when streaming.

              rhauch Randall Hauch (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: