HBASE-21212 Wrong flush time when update flush metric

This commit is contained in:
Allan Yang 2018-09-26 19:38:15 +08:00
parent 0e173d38b0
commit 7b2f5950ed
1 changed files with 1 additions and 1 deletions

View File

@ -2858,7 +2858,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
if (rsServices != null && rsServices.getMetrics() != null) {
rsServices.getMetrics().updateFlush(getTableDescriptor().getTableName().getNameAsString(),
time - startTime,
time,
mss.getDataSize(), flushedOutputFileSize);
}