HBASE-21212 Wrong flush time when update flush metric
This commit is contained in:
parent
0e173d38b0
commit
7b2f5950ed
|
@ -2858,7 +2858,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
|
||||||
|
|
||||||
if (rsServices != null && rsServices.getMetrics() != null) {
|
if (rsServices != null && rsServices.getMetrics() != null) {
|
||||||
rsServices.getMetrics().updateFlush(getTableDescriptor().getTableName().getNameAsString(),
|
rsServices.getMetrics().updateFlush(getTableDescriptor().getTableName().getNameAsString(),
|
||||||
time - startTime,
|
time,
|
||||||
mss.getDataSize(), flushedOutputFileSize);
|
mss.getDataSize(), flushedOutputFileSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue