Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1573

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: Admin UI
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              noble.paul Noble Paul
              Reporter:
              jayallenhill@gmail.com Jay Hill
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: