You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2011/01/25 17:42:44 UTC

[jira] Resolved: (SOLR-2320) ReplicationHandler doesn't return master details unless it's also configured as a slave

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

Hoss Man resolved SOLR-2320.
----------------------------

    Resolution: Fixed

Committed revision 1063339. - trunk
Committed revision 1063343. - 3x


> ReplicationHandler doesn't return master details unless it's also configured as a slave
> ---------------------------------------------------------------------------------------
>
>                 Key: SOLR-2320
>                 URL: https://issues.apache.org/jira/browse/SOLR-2320
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java)
>    Affects Versions: 1.4, 1.4.1
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2320.patch, SOLR-2320.patch, SOLR-2320.patch
>
>
> While investigating SOLR-2314 i found a bug which seems to be the opposite of the behavior described there -- so i'm filing a seperate bug to track it.
> if ReplicationHandler is only configured as a master, "command=details" requests won't include the "master" section.  that section is only output if it is also configured as a slave.
> the method responsible for the details command generates the "master" details just fine, but the code to add it to the response seems to have erroneously been nested inside an if that only evaluates to true if there is a non-null SnapPuller (ie: it's also a slave)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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