parent
3a2d40acd9
commit
5ad540a1aa
|
@ -78,7 +78,7 @@ public class TrackingConcurrentMergeScheduler extends ConcurrentMergeScheduler {
|
|||
@Override
|
||||
protected void doMerge(MergePolicy.OneMerge merge) throws IOException {
|
||||
int totalNumDocs = merge.totalNumDocs();
|
||||
long totalSizeInBytes = merge.totalBytesSize();
|
||||
long totalSizeInBytes = merge.estimatedMergeBytes;
|
||||
long time = System.currentTimeMillis();
|
||||
currentMerges.inc();
|
||||
currentMergesNumDocs.inc(totalNumDocs);
|
||||
|
|
|
@ -88,7 +88,7 @@ public class TrackingSerialMergeScheduler extends MergeScheduler {
|
|||
writer.mergeInit(merge);
|
||||
|
||||
int totalNumDocs = merge.totalNumDocs();
|
||||
long totalSizeInBytes = merge.totalBytesSize();
|
||||
long totalSizeInBytes = merge.estimatedMergeBytes;
|
||||
long time = System.currentTimeMillis();
|
||||
currentMerges.inc();
|
||||
currentMergesNumDocs.inc(totalNumDocs);
|
||||
|
|
Loading…
Reference in New Issue