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

ASF GitHub Bot commented on APEXMALHAR-2004:
--------------------------------------------

GitHub user tushargosavi opened a pull request:

    https://github.com/apache/incubator-apex-malhar/pull/203

    APEXMALHAR-2004: Add file's modification time in referenceTimes map instead 
of parent's

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tushargosavi/incubator-apex-malhar 
APEXMALHAR-2004

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-apex-malhar/pull/203.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #203
    
----
commit 82edf12b8dd967b71c5f61bda84a64f026501c53
Author: Tushar R. Gosavi <[email protected]>
Date:   2016-02-27T13:04:38Z

    APEXMALHAR-2004: Add file's modification time in referenceTimes map
    instead of parent's

----


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

Reply via email to