Yi Liu created HDFS-6783:
----------------------------

             Summary: Fix not really wait for rescan in HDFS 
CacheReplicationModitor
                 Key: HDFS-6783
                 URL: https://issues.apache.org/jira/browse/HDFS-6783
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: caching
    Affects Versions: 3.0.0
            Reporter: Yi Liu
            Assignee: Yi Liu


In monitor thread, needsRescan is set to false before real scan starts, so 
for {{waitForRescanIfNeeded}} will return for the first condition:
{code}
if (!needsRescan) {
  return;
}
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to