SOLR-561 update -- Increment packetsWritten variable after writing out the packet

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@707279 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2008-10-23 05:54:18 +00:00
parent 62fc6816a3
commit 325594751f
1 changed files with 1 additions and 0 deletions

View File

@ -789,6 +789,7 @@ public class ReplicationHandler extends RequestHandlerBase implements SolrCoreAw
if(indexVersion != null && (packetsWritten % 5 == 0)){
delPolicy.setReserveDuration(indexVersion, reserveCommitDuration);
}
packetsWritten++;
}
} else {
writeNothing();