[
https://issues.apache.org/jira/browse/SOLR-13950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980424#comment-16980424
]
ASF subversion and git services commented on SOLR-13950:
--------------------------------------------------------
Commit 4910c0f558bbf72419e61e3b9bb413348eaea606 in lucene-solr's branch
refs/heads/master from Andy Vuong
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=4910c0f ]
SOLR-13950: Fix getLeaderRetry swallowing interrupt in ZkStateReader (#1023)
Let InterruptedException bubble up
> ZkStateReader’s getLeaderRetry method swallowed InterruptedException
> --------------------------------------------------------------------
>
> Key: SOLR-13950
> URL: https://issues.apache.org/jira/browse/SOLR-13950
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrJ
> Affects Versions: master (9.0), 8.3
> Reporter: Andy Vuong
> Priority: Minor
> Fix For: master (9.0)
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> ZkStateReader’s getLeaderRetry(String collection, String shard, int timeout)
> swallows the InterruptedException and doesn’t interrupt the current thread
> despite declaring throws InterruptedException.
>
> This small patch calls Thread.currentThread().interrupt() and passes the
> InterruptedException up.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]