[
https://issues.apache.org/jira/browse/SOLR-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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...
http://localhost:8983/solr/replication?command=details
> replicate/index.jsp UI does not work with repeaters (both master and slave)
> ---------------------------------------------------------------------------
>
> Key: SOLR-2314
> URL: https://issues.apache.org/jira/browse/SOLR-2314
> Project: Solr
> Issue Type: Bug
> Components: web gui
> Affects Versions: 1.4.1
> Environment: jdk 1.6.0.23 ; 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 java.properties (-Dsolr.enable.master -Dsolr.enable.slave) to set
> "master" or "slave" at runtime
> *OR*
> c) use solrcore.properties 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 system.properties or
> solrcore.properties
--
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: [email protected]
For additional commands, e-mail: [email protected]