You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/11/03 13:41:41 UTC
[GitHub] [flink] lvhuyen commented on pull request #6613: [FLINK-9940] [API/DataStream][File source] out-of-order files were missed in continuous monitoring
lvhuyen commented on pull request #6613:
URL: https://github.com/apache/flink/pull/6613#issuecomment-721013368
Hi @guoweiM
Once again, sorry for the late response.
Regarding the use of both `globalModificationTime` and `maxProcessedTime`, I think the purpose was to avoid recalculating one from the other at every `shouldIgnore()` check. As this `ContinuousFileMonitoringFunction` class was designed as a single-threaded operator thus having two mutable variables should be fine.
Please advice.
Thanks again.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org