[
https://issues.apache.org/jira/browse/NIFI-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15802471#comment-15802471
]
ASF GitHub Bot commented on NIFI-3276:
--------------------------------------
Github user pvillard31 commented on the issue:
https://github.com/apache/nifi/pull/1388
+1, merging
> 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)