Vertify hdfsValue = e.getValue();
Vertify localValue = localVertify.remove(partion);
if (localValue == null || !localValue.getVertify().equals(hdfsValue.getVertify())) {
this.syncPartion(partion, hdfsValue.getPath());
SolrResourceLoader.SetCacheFlushKey(new PartionKey(this.tablename, partion),System.currentTimeMillis());
}
}
this.partstat.syncClearStat();
HashSet<String> skiplist=new HashSet<String>();
skiplist.add("default");
skiplist.add("");
for (Entry<String, Vertify> e : localVertify.entrySet()) {
if(skiplist.contains(e.getKey()))
{
continue;
}
this.dropPartion(e.getValue().getPath());
PartionKey p=new PartionKey(this.tablename, e.getKey());
SolrResourceLoader.SetCacheFlushKey(p,System.currentTimeMillis());
SolrResourceLoader.DropCacheFlushKey(p);
}
LOG.info("higolog loadIndex finish:" + this.tablename + ",ischange" + ischange );
return false;