[exo-jcr-commits] exo-jcr SVN: r3468 - jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Nov 17 07:50:18 EST 2010
Author: tolusha
Date: 2010-11-17 07:50:18 -0500 (Wed, 17 Nov 2010)
New Revision: 3468
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/IndexInfos.java
Log:
EXOJCR-1043: fix issue when IndexInfos read inccorect list of indexes.
Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/IndexInfos.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/IndexInfos.java 2010-11-17 12:04:00 UTC (rev 3467)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/IndexInfos.java 2010-11-17 12:50:18 UTC (rev 3468)
@@ -118,6 +118,9 @@
{
public Object run() throws Exception
{
+ // Known issue for NFS bases on ext3. Need to refresh directory to read actual data.
+ dir.list();
+
names.clear();
indexes.clear();
if (dir.fileExists(name))
More information about the exo-jcr-commits
mailing list