lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] Updated: (SOLR-2314) replicate/index.jsp UI does not work with repeaters (both master and slave)
Date Wed, 19 Jan 2011 00:24:43 GMT


Hoss Man updated SOLR-2314:

    Summary: replicate/index.jsp UI does not work with repeaters (both master and slave) 
(was: replicate/index.jsp UI does not honor java system properties enable.master, enable.slave)

something to be clear about here: there is nothing special about the system properties you
describe -- they are completely meaningless to Solr, and nothing in the code does or should
ever check for them explicitly.  they only have meaning if you use them in your solrconfig.xml
file, as a way to specify the values of the "enable" properties in the "master" and "slave"
sections of the ReplicationHandler declaration.

The bug seems to be that the JSP for pretty printing the replication handler status is broken
and assumes that something is either a master or a slave and doesn't realize that it's possible
for something to be both (in the case of a repeater). if you execute the "details" command
against the replication handler directly, you should see the correct information in the response...


> replicate/index.jsp UI does not work with repeaters (both master and slave)
> ---------------------------------------------------------------------------
>                 Key: SOLR-2314
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 1.4.1
>         Environment: jdk  ; both jetty and jboss/tomcat. 
>            Reporter: will milspec
>            Priority: Minor
> Summary:
> ==========
> - Admin UI replication/index.jsp checks for master or slave with the following code:
>    if ("true".equals(detailsMap.get("isSlave"))) 
> -  if slave, replication/index.jsp displays the "Master" and "Poll Intervals", etc. sections
(everything up to "Cores")
> - if false, replication/index.jsp does not display the "Master", "Poll Intervals" sections

> -This "slave check/UI difference" works correctly if the solrconfig.xml has a  "slave"
but not "master" section or vice versa
> Expected results:
> ==================
> Same UI difference would occur in the following scenario:
>    a) solrconfig.xml has both master and slave entries
>    b) use (-Dsolr.enable.master -Dsolr.enable.slave) to set "master"
or "slave" at runtime
> *OR*
>     c) use  to set "master" and "slave" at runtime
> Actual results:
> ==================
> If solrconfig.xml has both master and slave entries, replication/index.jsp shows both
"master" and "slave" section regardless of or

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:
For additional commands, e-mail:

View raw message