lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-8728) Splitting a shard of a collection created with a rule fails with NPE
Date Thu, 03 Mar 2016 13:13:18 GMT

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

Noble Paul updated SOLR-8728:
-----------------------------
    Attachment: SOLR-8728.patch

summary of changes:

* {{ReplicaAssigner}} should only lookup tags for nodes participating in selection. This is
to avoid the NPE.
* {{splitShard()}} preassigns nodes and the assignment is done without using the {{ReplicaAssigner}}
.This means , rules don't kick in when nodes are assigned in splitshard. In this patch, the
preassigning is done using the rules , if they exist

[~shalinmangar] I would like you to take a look at the changes made to {{splitShard()}}

> Splitting a shard of a collection created with a rule fails with NPE
> --------------------------------------------------------------------
>
>                 Key: SOLR-8728
>                 URL: https://issues.apache.org/jira/browse/SOLR-8728
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Shai Erera
>            Assignee: Noble Paul
>         Attachments: SOLR-8728.patch, SOLR-8728.patch
>
>
> Spinoff from this discussion: http://markmail.org/message/f7liw4hqaagxo7y2
> I wrote a short test which reproduces, will upload shortly.



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