You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2017/01/05 20:45:58 UTC
[jira] [Resolved] (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 ]
Pierre Villard resolved NIFI-3276.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
> 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)