lucene-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-13950) ZkStateReader’s getLeaderRetry method swallowed InterruptedException
Date Fri, 22 Nov 2019 19:08:00 GMT

    [ https://issues.apache.org/jira/browse/SOLR-13950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980426#comment-16980426
] 

ASF subversion and git services commented on SOLR-13950:
--------------------------------------------------------

Commit a25ecd7f309f6476359408d59b607eea5f2f909e in lucene-solr's branch refs/heads/branch_8x
from Andy Vuong
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=a25ecd7 ]

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


Mime
View raw message