HBASE-21212 Wrong flush time when update flush metric
This commit is contained in:
parent
a00adb0b45
commit
823b790000
|
@ -2734,7 +2734,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
|
|||
status.setStatus(msg);
|
||||
|
||||
if (rsServices != null && rsServices.getMetrics() != null) {
|
||||
rsServices.getMetrics().updateFlush(time - startTime,
|
||||
rsServices.getMetrics().updateFlush(time,
|
||||
totalFlushableSizeOfFlushableStores, flushedOutputFileSize);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue