lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r820544 - /lucene/solr/trunk/src/java/org/apache/solr/handler/ReplicationHandler.java
Date Thu, 01 Oct 2009 06:23:53 GMT
Author: noble
Date: Thu Oct  1 06:23:53 2009
New Revision: 820544

URL: http://svn.apache.org/viewvc?rev=820544&view=rev
Log:
SOLR-1479 Disable Polling only appears in replication control page when replication is going
on

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/handler/ReplicationHandler.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/handler/ReplicationHandler.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/handler/ReplicationHandler.java?rev=820544&r1=820543&r2=820544&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/handler/ReplicationHandler.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/handler/ReplicationHandler.java Thu Oct  1
06:23:53 2009
@@ -601,7 +601,7 @@
       addVal(slave, SnapPuller.REPLICATION_FAILED_AT, props, Date.class);
       addVal(slave, SnapPuller.PREVIOUS_CYCLE_TIME_TAKEN, props, Long.class);
 
-
+      slave.add("isPollingDisabled", String.valueOf(isPollingDisabled()));
       boolean isReplicating = isReplicating();
       slave.add("isReplicating", String.valueOf(isReplicating));
       if (isReplicating) {
@@ -678,7 +678,6 @@
           slave.add("totalPercent", String.valueOf(totalPercent));
           slave.add("timeRemaining", String.valueOf(estimatedTimeRemaining) + "s");
           slave.add("downloadSpeed", readableSize(downloadSpeed));
-          slave.add("isPollingDisabled", String.valueOf(isPollingDisabled()));
         } catch (Exception e) {
           LOG.error("Exception while writing replication details: ", e);
         }



Mime
View raw message