[ 
https://issues.apache.org/jira/browse/NIFI-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15802476#comment-15802476
 ] 

ASF subversion and git services commented on NIFI-3276:
-------------------------------------------------------

Commit 474df053d64deb0783cf02830f9092ca9d24edb2 in nifi's branch 
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=474df05 ]

NIFI-3276 - FileSystemRepository.getPath() only check exists if necessary

This closes #1388.


> 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
>             Fix For: 1.2.0
>
>
> 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