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

broustant pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-sandbox.git


The following commit(s) were added to refs/heads/main by this push:
     new cbe6cde  Add missing Thread.interrupt() call. (#119)
cbe6cde is described below

commit cbe6cde19a67227316b0b1fd78e203437caac3d4
Author: Bruno Roustant <[email protected]>
AuthorDate: Thu Jul 17 09:40:52 2025 +0200

    Add missing Thread.interrupt() call. (#119)
---
 .../main/java/org/apache/solr/encryption/EncryptionRequestHandler.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/encryption/src/main/java/org/apache/solr/encryption/EncryptionRequestHandler.java
 
b/encryption/src/main/java/org/apache/solr/encryption/EncryptionRequestHandler.java
index 830a253..a4346fe 100644
--- 
a/encryption/src/main/java/org/apache/solr/encryption/EncryptionRequestHandler.java
+++ 
b/encryption/src/main/java/org/apache/solr/encryption/EncryptionRequestHandler.java
@@ -395,6 +395,7 @@ public class EncryptionRequestHandler extends 
RequestHandlerBase {
           }
         }
       } catch (InterruptedException e) {
+        Thread.currentThread().interrupt();
         collectionState = State.INTERRUPTED;
       }
       success = collectionState == null || collectionState.isSuccess();

Reply via email to