mirror of https://github.com/apache/lucene.git
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:
parent
62fc6816a3
commit
325594751f
|
@ -789,6 +789,7 @@ public class ReplicationHandler extends RequestHandlerBase implements SolrCoreAw
|
||||||
if(indexVersion != null && (packetsWritten % 5 == 0)){
|
if(indexVersion != null && (packetsWritten % 5 == 0)){
|
||||||
delPolicy.setReserveDuration(indexVersion, reserveCommitDuration);
|
delPolicy.setReserveDuration(indexVersion, reserveCommitDuration);
|
||||||
}
|
}
|
||||||
|
packetsWritten++;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
writeNothing();
|
writeNothing();
|
||||||
|
|
Loading…
Reference in New Issue