[exo-jcr-commits] exo-jcr SVN: r3469 - jcr/branches/1.12.x/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:53:30 EST 2010


Author: tolusha
Date: 2010-11-17 07:53:30 -0500 (Wed, 17 Nov 2010)
New Revision: 3469

Modified:
   jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/IndexInfos.java
Log:
JCR-1468: fix issue when IndexInfos read inccorect list of indexes.

Modified: jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/IndexInfos.java
===================================================================
--- jcr/branches/1.12.x/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)
+++ jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/IndexInfos.java	2010-11-17 12:53:30 UTC (rev 3469)
@@ -112,6 +112,9 @@
     */
    public void read() throws IOException
    {
+      // Knows issue for NFS based 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