leesf commented on a change in pull request #3719: URL: https://github.com/apache/hudi/pull/3719#discussion_r717684115
########## File path: hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/HoodieROTablePathFilter.java ########## @@ -175,8 +181,12 @@ public boolean accept(Path path) { metaClientCache.put(baseDir.toString(), metaClient); } - fsView = FileSystemViewManager.createInMemoryFileSystemView(engineContext, - metaClient, HoodieInputFormatUtils.buildMetadataConfig(getConf())); + fsView = hoodieTableFileSystemViewCache.get(baseDir.toString()); Review comment: here the `fsView` would never get updated once put into cache, even the writer commits new file, the new file will not appears in the `fsView`, I think it may lead to wrong results in flink streaming read, right? cc @danny0405 -- 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. To unsubscribe, e-mail: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org