You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Andy Vuong (Jira)" <ji...@apache.org> on 2019/11/21 00:15:00 UTC

[jira] [Updated] (SOLR-13950) ZkStateReader’s getLeaderRetry method swallowed InterruptedException

     [ https://issues.apache.org/jira/browse/SOLR-13950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Vuong updated SOLR-13950:
------------------------------
    Description: 
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.

  was:ZkStateReader’s getLeaderRetry(String collection, String shard, int timeout) swallows the InterruptedException and doesn’t interrupt the current thread despite declaring throws InterruptedException.


> 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: 10m
>  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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org