lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (JIRA)" <>
Subject [jira] [Updated] (SOLR-8811) Deleting inactive replicas doesn't work in non-legacy cloud mode
Date Wed, 09 Mar 2016 18:23:40 GMT


Alan Woodward updated SOLR-8811:
    Attachment: SOLR-8811.patch

Here's a patch illustrating the problem.  DeleteReplicaTest.deleteDeadReplicaTest() fails,
because the core doesn't notice that it has been unregistered and comes online when it's parent
node comes back up.

I'm not sure if this is actually fixable, but I'm also not sure that it should work in the
first place in ZK-is-truth mode.  If a node hosting a replica is down, then I think it's reasonable
to just return an error when trying to delete that node.

> Deleting inactive replicas doesn't work in non-legacy cloud mode
> ----------------------------------------------------------------
>                 Key: SOLR-8811
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.5, master, 6.0
>            Reporter: Alan Woodward
>            Priority: Minor
>         Attachments: SOLR-8811.patch
> I've been trying to cut some tests over to use SolrCloudTestBase, and have found that
DeleteInactiveReplicaTest won't work in non-legacy mode.  This is because the "don't start
up if you've been unregistered" logic relies on a coreNodeName not being present, but if the
collection has been created via the Collections API then coreNodeName is always set.

This message was sent by Atlassian JIRA

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

View raw message