HBASE-21212 Wrong flush time when update flush metric

This commit is contained in:
Allan Yang 2018-09-26 19:17:35 +08:00
parent 21fafbaf53
commit f3c3c7c422
1 changed files with 1 additions and 1 deletions

View File

@ -2818,7 +2818,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);
}