You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/05/19 17:34:12 UTC

[jira] [Commented] (SOLR-8745) Deprecate ZkStateReader.updateClusterState(), remove uses

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

ASF subversion and git services commented on SOLR-8745:
-------------------------------------------------------

Commit b663e5bcad9974f2d80c16b85c862407a38290e0 in lucene-solr's branch refs/heads/branch_6_0 from [~dragonsinth]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b663e5b ]

SOLR-8973: Zookeeper frenzy when a core is first created.

For branch_6_0: Modified ZkStateReaderTest to use ZkStateReader.updateClusterState() instead of .forceUpdateCollection(), since SOLR-8745 will land in 6.1.


> Deprecate ZkStateReader.updateClusterState(), remove uses
> ---------------------------------------------------------
>
>                 Key: SOLR-8745
>                 URL: https://issues.apache.org/jira/browse/SOLR-8745
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 5.4.1
>            Reporter: Scott Blum
>            Assignee: Shalin Shekhar Mangar
>              Labels: patch, performance, solrcloud
>             Fix For: 6.1, master (7.0)
>
>         Attachments: SOLR-8745.patch, SOLR-8745.patch
>
>
> Forcing a full ZK cluster state update creates a lot of unnecessary work and load at scale.  We need to deprecate and remove existing callers.
> - The one at the start of ClusterStateUpdater thread is fine, it's a one-time thing.
> - The one in OverseerCollectionMessageHandler is getting removed in SOLR-8722
> - The rest of them can be replaced with a version that only updates a single collection; not everything!
> Patch will be forthcoming.



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