You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Scott Blum (JIRA)" <ji...@apache.org> on 2016/02/20 21:58:18 UTC
[jira] [Comment Edited] (SOLR-8696) Optimize overseer + startup
[ https://issues.apache.org/jira/browse/SOLR-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15155750#comment-15155750 ]
Scott Blum edited comment on SOLR-8696 at 2/20/16 8:57 PM:
-----------------------------------------------------------
What git sha are you on? I'm absolutely not hitting that break point running that exact test. I'm at 091889cf79e15909963b6fad6c0a5394a34764bc. The only local changes I have are to comment out the calls to the other tests in that class so that testAddAndDeleteReplica is the only test method run.
Nor am I seeing this log message in the test logs:
{code}
public ZkWriteCommand addReplica(ClusterState clusterState, ZkNodeProps message) {
log.info("createReplica() {} ", message);
{code}
was (Author: dragonsinth):
What git sha are you on? I'm absolutely not hitting that break point running that exact test. I'm at 091889cf79e15909963b6fad6c0a5394a34764bc. The only local changes I have are to comment out the calls to the other tests in that class so that testAddAndDeleteReplica is the only test method run.
> Optimize overseer + startup
> ---------------------------
>
> Key: SOLR-8696
> URL: https://issues.apache.org/jira/browse/SOLR-8696
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud
> Affects Versions: 5.4.1
> Reporter: Scott Blum
> Labels: patch, performance, solrcloud, startup
> Attachments: SOLR-8696.patch
>
>
> ZkController.publishAndWaitForDownStates() occurs before overseer election. That means if there is currently no overseer, there is ironically no one to actually service the down state changes it's waiting on. This particularly affects a single-node cluster such as you might run locally for development.
> Additionally, we're doing an unnecessary ZkStateReader forced refresh on all Overseer operations. This isn't necessary because ZkStateReader keeps itself up to date.
--
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