You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Rosander (JIRA)" <ji...@apache.org> on 2017/01/04 15:37:58 UTC

[jira] [Updated] (NIFI-3276) FileSystemRepository.getPath() tests for file existence more than necessary

     [ https://issues.apache.org/jira/browse/NIFI-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Rosander updated NIFI-3276:
---------------------------------
    Description: 
FileSystemRepository.getPath() tests Files.exists() on the same path twice in the case that the container path does exist and verifyExists is true.

This adds unnecessary file system overhead and is showing up in a sampling profile (not a massive hit but an unnecessary one).

  was:
FileSystemRepository.getPath() tests Files.exists() on the same path twice in the case that the container path does exist and verifyExists is true.

This adds unnecessary file system overhead and is showing up in a sampling profile.


> FileSystemRepository.getPath() tests for file existence more than necessary
> ---------------------------------------------------------------------------
>
>                 Key: NIFI-3276
>                 URL: https://issues.apache.org/jira/browse/NIFI-3276
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Bryan Rosander
>            Assignee: Bryan Rosander
>            Priority: Minor
>
> FileSystemRepository.getPath() tests Files.exists() on the same path twice in the case that the container path does exist and verifyExists is true.
> This adds unnecessary file system overhead and is showing up in a sampling profile (not a massive hit but an unnecessary one).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)