lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6261) Run ZK watch event callbacks in parallel to the event thread
Date Mon, 28 Jul 2014 19:04:42 GMT

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

Mark Miller commented on SOLR-6261:
-----------------------------------

Can you create a final pull request with your latest [~andyetitmoves]

> Run ZK watch event callbacks in parallel to the event thread
> ------------------------------------------------------------
>
>                 Key: SOLR-6261
>                 URL: https://issues.apache.org/jira/browse/SOLR-6261
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 4.9
>            Reporter: Ramkumar Aiyengar
>            Assignee: Mark Miller
>            Priority: Minor
>
> Currently checking for leadership (due to the leader's ephemeral node going away) happens
in ZK's event thread. If there are many cores and all of them are due leadership, then they
would have to serially go through the two-way sync and leadership takeover.
> For tens of cores, this could mean 30-40s without leadership before the last in the list
even gets to start the leadership process. If the leadership process happens in a separate
thread, then the cores could all take over in parallel.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message