You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/11/18 13:20:34 UTC
[jira] [Updated] (SOLR-6754) ZkController.publish doesn't use the
updateLastState parameter
[ https://issues.apache.org/jira/browse/SOLR-6754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar updated SOLR-6754:
----------------------------------------
Attachment: SOLR-6754.patch
Trivial patch to use the method argument is attached.
> ZkController.publish doesn't use the updateLastState parameter
> --------------------------------------------------------------
>
> Key: SOLR-6754
> URL: https://issues.apache.org/jira/browse/SOLR-6754
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.10.2
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Priority: Trivial
> Fix For: 5.0, Trunk
>
> Attachments: SOLR-6754.patch
>
>
> One of ZkController's overloaded publish method has the following:
> {code}
> public void publish(final CoreDescriptor cd, final String state, boolean updateLastState) throws KeeperException, InterruptedException {
> publish(cd, state, true, false);
> }
> {code}
> Regardless of the updateLastState argument, the method calls publish with updateLastState set to true.
--
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