jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1030517 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IndexMerger.java
Date Wed, 03 Nov 2010 16:22:39 GMT
Author: mreutegg
Date: Wed Nov  3 16:22:39 2010
New Revision: 1030517

URL: http://svn.apache.org/viewvc?rev=1030517&view=rev
Log:
JCR-2787: IndexMerger: Synchronization issue on repository shutdown
- patch by Harald Wellmann

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

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IndexMerger.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IndexMerger.java?rev=1030517&r1=1030516&r2=1030517&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IndexMerger.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/IndexMerger.java
Wed Nov  3 16:22:39 2010
@@ -470,9 +470,9 @@ class IndexMerger implements IndexListen
         private final CountDownLatch start = new CountDownLatch(1);
 
         /**
-         * Flat that indicates whether this woker has finished its work.
+         * Flag that indicates whether this worker has finished its work.
          */
-        private final AtomicBoolean terminated = new AtomicBoolean(true);
+        private final AtomicBoolean terminated = new AtomicBoolean(false);
 
         /**
          * The merge task.



Mime
View raw message