lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1437799 - in /lucene/dev/branches/branch_4x: ./ lucene/ lucene/core/ lucene/core/src/java/org/apache/lucene/store/ByteBufferIndexInput.java
Date Wed, 23 Jan 2013 23:21:35 GMT
Author: uschindler
Date: Wed Jan 23 23:21:35 2013
New Revision: 1437799

URL: http://svn.apache.org/viewvc?rev=1437799&view=rev
Log:
Merged revision(s) 1437798 from lucene/dev/trunk:
Remove a cloned MMapIndexInput from the clones map when its closed.

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/lucene/   (props changed)
    lucene/dev/branches/branch_4x/lucene/core/   (props changed)
    lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/store/ByteBufferIndexInput.java

Modified: lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/store/ByteBufferIndexInput.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/store/ByteBufferIndexInput.java?rev=1437799&r1=1437798&r2=1437799&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/store/ByteBufferIndexInput.java
(original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/store/ByteBufferIndexInput.java
Wed Jan 23 23:21:35 2013
@@ -272,6 +272,7 @@ abstract class ByteBufferIndexInput exte
       // make local copy, then un-set early
       final ByteBuffer[] bufs = buffers;
       unsetBuffers();
+      clones.remove(this);
       
       if (isClone) return;
       



Mime
View raw message