Github user paul-rogers commented on a diff in the pull request: https://github.com/apache/drill/pull/877#discussion_r128683594 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/MetadataContext.java --- @@ -41,6 +41,10 @@ private PruneStatus pruneStatus = PruneStatus.NOT_STARTED; + // False values of these flags allow to avoid double reading of corrupted or unsupported metadata files + public boolean isMetaCacheFileCorrect = true; + public boolean isMetaDirsCacheFileCorrect = true; --- End diff -- Nice! How are these states cleared? Do we keep track of the file timestamp, and try again if the file is replaced/updated? Or, is there some kind of manual reset? Is the state only per query?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---