Replication stats page for slaves not displaying two lines of master information
--------------------------------------------------------------------------------

                 Key: SOLR-1573
                 URL: https://issues.apache.org/jira/browse/SOLR-1573
             Project: Solr
          Issue Type: Bug
          Components: web gui
    Affects Versions: 1.4
            Reporter: Jay Hill
            Priority: Minor


On the admin page for replication, on a slave host, there used to be 3 lines of 
information about the master:
LIne 1: master url, i.e. http://foo.bar:8983/solr/core0/replication
Line 2: Information about the master, i.e. "Latest Index Version 123456, 
Generation: 16
Line 3: More master inro, i.e. "Replicatable Index Version 123456, Generation: 
16

But now only Line 1 is displaying. There is a block of code in 
...replication/index.jsp where this is displayed that never seems to drop into:

<%
    if (nl != null) {         
      nl = (NamedList) nl.get("master");
      if(nl != null){      
  %>
<tr>  
  <td>
  </td>
  <td>Latest Index Version:<%=nl.get("indexVersion")%>, Generation: 
<%=nl.get("generation")%>
  </td>
</tr>
<tr>
  <td></td>
  <td>Replicatable Index Version:<%=nl.get("replicatableIndexVersion")%>, 
Generation: <%=nl.get("replicatableGeneration")%>
  </td>
</tr>
<%
}
}%>

Those bits of information were quite useful when comparing the slave versions 
to the master.

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

Reply via email to