hindex: remove autoload check for update case

This commit is contained in:
peiwangdb 2021-10-18 09:42:14 -07:00
parent 17029ea49a
commit e1228462f2
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}