lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie Johnson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2765) Shard/Node states
Date Fri, 07 Oct 2011 20:42:30 GMT

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

Jamie Johnson commented on SOLR-2765:
-------------------------------------

I've attached my first hack at this.  From what I can tell it works as I expect, I touched
a few other files since forcing an update doesn't make sense anymore since we have a watcher
on that node and update it whenever a change occurs.  I'm also updating the CloudState object
in a way that it wasn't intended (had to remove the code that made the collections unmodifiable),
we could probably put some setters on CloudState so that other classes don't have to step
through the collection in a way that is not potentially harmful since I'm currently returning
the live lists, but for now I think this is a good first step.  

As always comments are welcomed.
                
> Shard/Node states
> -----------------
>
>                 Key: SOLR-2765
>                 URL: https://issues.apache.org/jira/browse/SOLR-2765
>             Project: Solr
>          Issue Type: Sub-task
>          Components: SolrCloud, update
>            Reporter: Yonik Seeley
>             Fix For: 4.0
>
>         Attachments: incremental_update.patch, shard-roles.patch
>
>
> Need state for shards that indicate they are recovering, active/enabled, or disabled.

--
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


Mime
View raw message