You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Tushar Gosavi (JIRA)" <ji...@apache.org> on 2016/02/27 14:04:18 UTC

[jira] [Created] (APEXMALHAR-2004) TimeBasedDirectoryScanner keep reading same file

Tushar Gosavi created APEXMALHAR-2004:
-----------------------------------------

             Summary: TimeBasedDirectoryScanner keep reading same file
                 Key: APEXMALHAR-2004
                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2004
             Project: Apache Apex Malhar
          Issue Type: Bug
    Affects Versions: 3.3.0
            Reporter: Tushar Gosavi
            Assignee: Tushar Gosavi


The recorded last modification time is of the parent directory, If modification time > last recorded modification time then we will read the file again.

In case where directory modification time < file modification time, we will keep on reading the file again and again.

Fix is to record file modification time instead of parent modification time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)