You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2008/08/08 20:37:44 UTC

[jira] Created: (SOLR-687) unlockOnStartup unsafe for multicore

unlockOnStartup unsafe for multicore
------------------------------------

                 Key: SOLR-687
                 URL: https://issues.apache.org/jira/browse/SOLR-687
             Project: Solr
          Issue Type: Bug
            Reporter: Yonik Seeley
            Assignee: Yonik Seeley
             Fix For: 1.3


unlocking held write locks is not safe in a multi-core or core reloading environment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SOLR-687) unlockOnStartup unsafe for multicore

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

Yonik Seeley resolved SOLR-687.
-------------------------------

    Resolution: Fixed

committed.

> unlockOnStartup unsafe for multicore
> ------------------------------------
>
>                 Key: SOLR-687
>                 URL: https://issues.apache.org/jira/browse/SOLR-687
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 1.3
>
>         Attachments: SOLR-687.patch
>
>
> unlocking held write locks is not safe in a multi-core or core reloading environment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-687) unlockOnStartup unsafe for multicore

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621122#action_12621122 ] 

Ryan McKinley commented on SOLR-687:
------------------------------------

+1, thanks Yonik

> unlockOnStartup unsafe for multicore
> ------------------------------------
>
>                 Key: SOLR-687
>                 URL: https://issues.apache.org/jira/browse/SOLR-687
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 1.3
>
>         Attachments: SOLR-687.patch
>
>
> unlocking held write locks is not safe in a multi-core or core reloading environment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-687) unlockOnStartup unsafe for multicore

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

Yonik Seeley updated SOLR-687:
------------------------------

    Attachment: SOLR-687.patch

Here's a patch that keeps track of what directories it's seen before, and only performs unlock the first time on each one.  I think this more correctly reflects the original unlockOnStartup semantics.

> unlockOnStartup unsafe for multicore
> ------------------------------------
>
>                 Key: SOLR-687
>                 URL: https://issues.apache.org/jira/browse/SOLR-687
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 1.3
>
>         Attachments: SOLR-687.patch
>
>
> unlocking held write locks is not safe in a multi-core or core reloading environment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.