lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <>
Subject [jira] [Updated] (SOLR-6665) ZkController.publishAndWaitForDownStates should not use core name
Date Mon, 20 Apr 2015 14:51:59 GMT


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message