mirror of https://github.com/apache/lucene.git
SOLR-1628: log contains incorrect number of adds and deletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@887933 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7f26fd8e90
commit
ac47aa00b2
|
@ -107,6 +107,9 @@ Bug Fixes
|
|||
* SOLR-1615: Backslash escaping did not work in quoted strings
|
||||
for local param arguments. (Wojtek Piaseczny, yonik)
|
||||
|
||||
* SOLR-1628: log contains incorrect number of adds and deletes.
|
||||
(Thijs Vonk via yonik)
|
||||
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
|
|
@ -162,10 +162,10 @@ class LogUpdateProcessor extends UpdateRequestProcessor {
|
|||
|
||||
// if id lists were truncated, show how many more there were
|
||||
if (adds != null && numAdds > maxNumToLog) {
|
||||
adds.add("... (" + adds.size() + " added)");
|
||||
adds.add("... (" + numAdds + " adds)");
|
||||
}
|
||||
if (deletes != null && numDeletes > maxNumToLog) {
|
||||
deletes.add("... (" + deletes.size() + " removed)");
|
||||
deletes.add("... (" + numDeletes + " deletes)");
|
||||
}
|
||||
long elapsed = rsp.getEndTime() - req.getStartTime();
|
||||
log.info( ""+toLog + " 0 " + (elapsed) );
|
||||
|
|
Loading…
Reference in New Issue