SOLR-1275: missing expungeDeletes counts in stats

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@824110 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Koji Sekiguchi 2009-10-11 17:04:31 +00:00
parent 4f1bbb5e87
commit 11e29af8f7
1 changed files with 1 additions and 0 deletions

View File

@ -678,6 +678,7 @@ public class DirectUpdateHandler2 extends UpdateHandler {
lst.add("autocommits", tracker.autoCommitCount); lst.add("autocommits", tracker.autoCommitCount);
lst.add("optimizes", optimizeCommands.get()); lst.add("optimizes", optimizeCommands.get());
lst.add("rollbacks", rollbackCommands.get()); lst.add("rollbacks", rollbackCommands.get());
lst.add("expungeDeletes", expungeDeleteCommands.get());
lst.add("docsPending", numDocsPending.get()); lst.add("docsPending", numDocsPending.get());
// pset.size() not synchronized, but it should be fine to access. // pset.size() not synchronized, but it should be fine to access.
// lst.add("deletesPending", pset.size()); // lst.add("deletesPending", pset.size());