You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by sh...@apache.org on 2008/10/23 07:54:18 UTC

svn commit: r707279 - /lucene/solr/trunk/src/java/org/apache/solr/handler/ReplicationHandler.java

Author: shalin
Date: Wed Oct 22 22:54:18 2008
New Revision: 707279

URL: http://svn.apache.org/viewvc?rev=707279&view=rev
Log:
SOLR-561 update -- Increment packetsWritten variable after writing out the packet

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=707279&r1=707278&r2=707279&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 Wed Oct 22 22:54:18 2008
@@ -789,6 +789,7 @@
             if(indexVersion != null && (packetsWritten % 5 == 0)){
               delPolicy.setReserveDuration(indexVersion, reserveCommitDuration);
             }
+            packetsWritten++;
           }
         } else {
           writeNothing();