You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by pa...@apache.org on 2023/10/31 06:08:36 UTC

(lucene) branch branch_9x updated: Do not close merge threadpool in Lucene99HnswVectorsWriter

This is an automated email from the ASF dual-hosted git repository.

patrickz pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new c25a3fdc294 Do not close merge threadpool in Lucene99HnswVectorsWriter
c25a3fdc294 is described below

commit c25a3fdc294092e6d1a1aad8412cd6e66ec97a9b
Author: Patrick Zhai <zh...@gmail.com>
AuthorDate: Mon Oct 30 23:08:06 2023 -0700

    Do not close merge threadpool in Lucene99HnswVectorsWriter
---
 .../org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsWriter.java   | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsWriter.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsWriter.java
index d7489416ff2..058d60d98d0 100644
--- a/lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsWriter.java
+++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsWriter.java
@@ -887,9 +887,6 @@ public final class Lucene99HnswVectorsWriter extends KnnVectorsWriter {
   @Override
   public void close() throws IOException {
     IOUtils.close(meta, vectorData, vectorIndex, quantizedVectorData);
-    if (mergeExec != null) {
-      mergeExec.shutdownNow();
-    }
   }
 
   private abstract static class FieldWriter<T> extends KnnFieldVectorsWriter<T> {