[ 
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)

Reply via email to