hindex: remove autoload check for update case
This commit is contained in:
parent
17029ea49a
commit
e1228462f2
|
|
@ -165,8 +165,8 @@ public class IndexCache
|
|||
if (oldIndexMap.get(newIndexRecord.name) != newIndexRecord.lastModifiedTime) {
|
||||
// update operation
|
||||
updated = true;
|
||||
evictFromCache(newIndexRecord);
|
||||
if (newIndexRecord.isAutoloadEnabled()) {
|
||||
evictFromCache(newIndexRecord);
|
||||
preloadIndex(newIndexRecord);
|
||||
LOG.debug("Index {%s} has been updated in cache.", newIndexRecord);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue