jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1598036 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IndexInfos.java
Date Wed, 28 May 2014 15:13:40 GMT
Author: mreutegg
Date: Wed May 28 15:13:39 2014
New Revision: 1598036

URL: http://svn.apache.org/r1598036
Log:
JCR-3766: Sync new IndexInfos file

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IndexInfos.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IndexInfos.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IndexInfos.java?rev=1598036&r1=1598035&r2=1598036&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IndexInfos.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IndexInfos.java
Wed May 28 15:13:39 2014
@@ -26,6 +26,7 @@ import java.io.OutputStream;
 import java.io.BufferedOutputStream;
 import java.util.ArrayList;
 import java.util.Arrays;
+import java.util.Collections;
 import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.List;
@@ -180,6 +181,7 @@ class IndexInfos implements Cloneable {
             } finally {
                 out.close();
             }
+            directory.sync(Collections.singleton(newName));
             lastModified = System.currentTimeMillis();
             success = true;
         } finally {



Mime
View raw message