lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-7854) Remove ZkStateReader.updateClusterState(false)
Date Sat, 01 Aug 2015 14:04:04 GMT

     [ https://issues.apache.org/jira/browse/SOLR-7854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shalin Shekhar Mangar resolved SOLR-7854.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: Trunk
                   5.3

Thanks Scott!

> Remove ZkStateReader.updateClusterState(false)
> ----------------------------------------------
>
>                 Key: SOLR-7854
>                 URL: https://issues.apache.org/jira/browse/SOLR-7854
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 5.2.1
>            Reporter: Scott Blum
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>              Labels: easyfix, newbie
>             Fix For: 5.3, Trunk
>
>         Attachments: SOLR-7854.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> `updateClusterState(false)` as far as I can tell has zero callers.  It's super pointless
anyway, because `updateClusterState(true)` is being used mostly from test code and in places
where someone is trying to force a reload from ZK (for whatever reason).  There's no point
in asking for a deferred update when ZkStateReader is already going to keep itself in sync
anyway.



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


Mime
View raw message