You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jay Hill <ja...@gmail.com> on 2009/11/17 02:48:59 UTC

Replication admin page auto-reload

The replication admin page on slaves used to have an auto-reload set to
reload every few seconds. In the official 1.4 release this doesn't seem to
be working, but it does in a nightly build from early June. Was this changed
on purpose or is this a bug? I looked through CHANGES.txt to see if anything
was mentioned related to this but didn't see anything. If it's a bug I'll
open an issue in JIRA>

-Jay

Re: Replication admin page auto-reload

Posted by Erik Hatcher <er...@gmail.com>.
On Nov 17, 2009, at 2:48 AM, Jay Hill wrote:

> The replication admin page on slaves used to have an auto-reload set  
> to
> reload every few seconds. In the official 1.4 release this doesn't  
> seem to
> be working, but it does in a nightly build from early June. Was this  
> changed
> on purpose or is this a bug? I looked through CHANGES.txt to see if  
> anything
> was mentioned related to this but didn't see anything. If it's a bug  
> I'll
> open an issue in JIRA>

Noble changed this:

~/dev/solr/src/webapp/web/admin/replication: svn log header.jsp
------------------------------------------------------------------------
r809125 | noble | 2009-08-29 14:46:54 +0200 (Sat, 29 Aug 2009) | 1 line

automatic refresh is very annoying. The user can do a refresh on his  
browser if required

----
~/dev/solr/src/webapp/web/admin/replication: svn diff -r800729:809125  
header.jsp
Index: header.jsp
===================================================================
--- header.jsp	(revision 800729)
+++ header.jsp	(revision 809125)
@@ -67,12 +67,7 @@

  NamedList namedlist = executeCommand("details",core,rh);
  NamedList detailsMap = (NamedList)namedlist.get("details");
-if(detailsMap != null)
-if("true".equals((String)detailsMap.get("isSlave"))){
  %>
-	<meta http-equiv="refresh" content="10"/>
-<%}%>
-
  </head>

  <body>