You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/11/16 21:07:00 UTC

[jira] [Commented] (SOLR-15795) REPLACENODE does not check that target node is different from source node

    [ https://issues.apache.org/jira/browse/SOLR-15795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444814#comment-17444814 ] 

ASF subversion and git services commented on SOLR-15795:
--------------------------------------------------------

Commit 70a19f921b6b987c8fcca519edcbdc10cbe3598c in solr's branch refs/heads/main from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=70a19f9 ]

SOLR-15795: Fix REPLACENODE to not use source node (#414)



> REPLACENODE does not check that target node is different from source node
> -------------------------------------------------------------------------
>
>                 Key: SOLR-15795
>                 URL: https://issues.apache.org/jira/browse/SOLR-15795
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>    Affects Versions: 7.3, 8.0
>            Reporter: Houston Putman
>            Assignee: Houston Putman
>            Priority: Major
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> As of SOLR-11067, the REPLACENODE API is able to select a new node for you if you do not provide one yourself, via the {{target}} parameter.
> However, there is nothing done to guarantee that the new node selected for you is different from the original node. It looks like [~hossman] made this observation in the original JIRA, but I'm not sure any fixes were made.
> I propose, similarly to [~hossman] did, that the API should also throw an error in case there is no other live node to send the replicas to.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org