[
https://issues.apache.org/jira/browse/SOLR-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-6665:
----------------------------------------
Attachment: SOLR-6665.patch
Fix and test to demonstrate the bug.
Since the current code uses a core name and doesn't check for the node name in
the verification phase, it can easily be fooled if a replica with the same core
name existed on a different node. The test asserts that this method times out.
It makes the test always take at least 60s (the timeout value for the method)
but I can't find a better way.
> ZkController.publishAndWaitForDownStates should not use core name
> -----------------------------------------------------------------
>
> Key: SOLR-6665
> URL: https://issues.apache.org/jira/browse/SOLR-6665
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.10.1
> Reporter: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 5.0, Trunk
>
> Attachments: SOLR-6665.patch
>
>
> ZkController.publishAndWaitForDownStates uses a List<String> to keep track of
> all core names that have been published as down. It should use a set of
> coreNodeNames instead of core names for correctness.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]