You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ramkumar Aiyengar (JIRA)" <ji...@apache.org> on 2014/09/29 15:14:34 UTC

[jira] [Comment Edited] (SOLR-6261) Run ZK watch event callbacks in parallel to the event thread

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

Ramkumar Aiyengar edited comment on SOLR-6261 at 9/29/14 1:13 PM:
------------------------------------------------------------------

bq. Ah, confused it with the second patch on the other issue when I glanced at it. Yeah, I can commit it here.

Hey [~markrmiller@gmail.com], just checking since I don't see an automated message here, was this committed? Thanks!


was (Author: andyetitmoves):
> Ah, confused it with the second patch on the other issue when I glanced at it. Yeah, I can commit it here.

Hey [~markrmiller@gmail.com], just checking since I don't see an automated message here, was this committed? Thanks!

> 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
>             Fix For: 4.10, Trunk
>
>         Attachments: thread-compare.jpg
>
>
> 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.3.4#6332)

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