[
https://issues.apache.org/jira/browse/NIFI-12019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17767696#comment-17767696
]
ASF subversion and git services commented on NIFI-12019:
--------------------------------------------------------
Commit 1f87c16ab8473e98df5c31a4932c0ff92c7d031a in nifi's branch
refs/heads/main from Michael W Moser
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1f87c16ab8 ]
NIFI-12019 Improved reliability of TestSynchronousFileWatcher
This closes #7770
Signed-off-by: David Handermann <[email protected]>
> SynchronousFileWatcher constantly checks for updates if file has not changed
> ----------------------------------------------------------------------------
>
> Key: NIFI-12019
> URL: https://issues.apache.org/jira/browse/NIFI-12019
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.23.2
> Reporter: Michael W Moser
> Assignee: Michael W Moser
> Priority: Minor
> Fix For: 2.0.0, 1.24.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> When SynchronousFileWatcher is configured with a check interval, it can
> ignore that interval and check on every invocation of checkAndReset(). When
> DigestUpdateMonitor is used, this causes a SHA hash to be computed on the
> file every time.
> This happens after one check interval period has passed and the file has not
> changed. When the file has not been modified, the last check timestamp state
> is not updated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)