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

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

Commit 9b7dadb21414af15a4a8c662617e6d7fd70fa42b in nifi's branch 
refs/heads/support/nifi-1.x from Michael W Moser
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9b7dadb214 ]

NIFI-12019 Improved reliability of TestSynchronousFileWatcher

This closes #7770

Signed-off-by: David Handermann <exceptionfact...@apache.org>
(cherry picked from commit 1f87c16ab8473e98df5c31a4932c0ff92c7d031a)


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

Reply via email to