Hindex: fix btreeindex close issue
This commit is contained in:
parent
f3d2d06232
commit
44cee52e98
|
|
@ -247,7 +247,10 @@ public class IndexCache
|
|||
cache.invalidate(filterKey);
|
||||
break;
|
||||
case TABLE:
|
||||
// no need to break index, and lastModifiedTime is not used for TABLE level. no need to do anything
|
||||
// no need to break index, and lastModifiedTime is not used for TABLE level, but we need to
|
||||
// toggle back the noCloseFlag, as it was previously set to true.
|
||||
filterKey.setNoCloseFlag(false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch (ExecutionException e) {
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ public class IndexCacheKey
|
|||
|
||||
public void setNoCloseFlag(boolean flag)
|
||||
{
|
||||
this.noCloseFlag = true;
|
||||
this.noCloseFlag = flag;
|
||||
}
|
||||
|
||||
public boolean skipCloseIndex()
|
||||
|
|
|
|||
Loading…
Reference in New Issue