You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2017/10/27 14:57:00 UTC

[jira] [Commented] (SOLR-11560) RestoreCmd resolves incorrect property from DocCollection

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

Varun Thacker commented on SOLR-11560:
--------------------------------------

Looks like it's a regression in 7.0 - SOLR-10233 

Too bad tests didn't catch it. We should add more checks in {{AbstractCloudBackupRestoreTestCase#testBackupAndRestore}} . We get {{DocCollection restoreCollection = client.getZkStateReader().getClusterState().getCollection(restoreCollectionName);}} but we don't check what are the replica types for this collection.



> RestoreCmd resolves incorrect property from DocCollection
> ---------------------------------------------------------
>
>                 Key: SOLR-11560
>                 URL: https://issues.apache.org/jira/browse/SOLR-11560
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Backup/Restore
>    Affects Versions: 7.0
>            Reporter: Peter Szantai-Kis
>            Priority: Minor
>         Attachments: SOLR-11560.patch
>
>
> the "private int getInt(ZkNodeProps message, String propertyName, Integer default1, int default2)" helper method ignore the propertyName parameter



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org