Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-771

SFTP multiple get bad performances if copyFrom() called after findFiles()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4.1, 2.6.0
    • None
    • None

    Description

      Similar to VFS-698: if you call sftpFile.findFiles(selector) before localFile.copyFrom(sftpFile, selector) the second call reset file stats in the cache (in .AbstractFileSystem#resolveFile() =>

      if (getFileSystemManager().getCacheStrategy().equals(CacheStrategy.ON_RESOLVE)) {
       file.refresh();
      }
      

      )
      Then the stats are retrieved one by one which result in poor performances.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              remi.ville Rémi Villé
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: