You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (Created) (JIRA)" <ji...@apache.org> on 2012/02/11 21:52:59 UTC

[jira] [Created] (SOLR-3122) RecoveryStrat can not use interrupt due to the use of Channels.

RecoveryStrat can not use interrupt due to the use of Channels.
---------------------------------------------------------------

                 Key: SOLR-3122
                 URL: https://issues.apache.org/jira/browse/SOLR-3122
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
            Reporter: Mark Miller
            Assignee: Mark Miller
             Fix For: 4.0


along the lines of LUCENE-2239, we cannot use interrupt unfortunetly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3122) RecoveryStrat can not use interrupt due to the use of Channels.

Posted by "Mark Miller (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208063#comment-13208063 ] 

Mark Miller commented on SOLR-3122:
-----------------------------------

Since we no longer interrupted, zk retry operations could retry for a long time, even if recovery was cancelled - so I've worked around this (SafeStopThread interface) and just committed a fix.
                
> RecoveryStrat can not use interrupt due to the use of Channels.
> ---------------------------------------------------------------
>
>                 Key: SOLR-3122
>                 URL: https://issues.apache.org/jira/browse/SOLR-3122
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.0
>
>
> along the lines of LUCENE-2239, we cannot use interrupt unfortunetly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Resolved] (SOLR-3122) RecoveryStrat can not use interrupt due to the use of Channels.

Posted by "Mark Miller (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller resolved SOLR-3122.
-------------------------------

    Resolution: Fixed
    
> RecoveryStrat can not use interrupt due to the use of Channels.
> ---------------------------------------------------------------
>
>                 Key: SOLR-3122
>                 URL: https://issues.apache.org/jira/browse/SOLR-3122
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.0
>
>
> along the lines of LUCENE-2239, we cannot use interrupt unfortunetly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3122) RecoveryStrat can not use interrupt due to the use of Channels.

Posted by "Mark Miller (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206268#comment-13206268 ] 

Mark Miller commented on SOLR-3122:
-----------------------------------

For the moment I've just remove the interrupt that was being used - future improvements can be made around stopping replication mid stream - nothing we can do about sleeps easily, but that is not a big deal. We have timeouts for http connections, so that shouldn't be too terrible either.
                
> RecoveryStrat can not use interrupt due to the use of Channels.
> ---------------------------------------------------------------
>
>                 Key: SOLR-3122
>                 URL: https://issues.apache.org/jira/browse/SOLR-3122
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.0
>
>
> along the lines of LUCENE-2239, we cannot use interrupt unfortunetly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org