HBASE-21212 Wrong flush time when update flush metric

This commit is contained in:
Allan Yang 2018-09-26 19:40:43 +08:00
parent a00adb0b45
commit 823b790000
1 changed files with 1 additions and 1 deletions

View File

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