HBASE-4976 Add compaction/flush queue size metrics mistakenly removed by HFile v2
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211719 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f4ef4485a7
commit
77dae7ccb7
|
@ -1389,6 +1389,10 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
|
|||
(int) (totalStaticBloomSize / 1024));
|
||||
this.metrics.readRequestsCount.set(readRequestsCount);
|
||||
this.metrics.writeRequestsCount.set(writeRequestsCount);
|
||||
this.metrics.compactionQueueSize.set(compactSplitThread
|
||||
.getCompactionQueueSize());
|
||||
this.metrics.flushQueueSize.set(cacheFlusher
|
||||
.getFlushQueueSize());
|
||||
|
||||
BlockCache blockCache = cacheConfig.getBlockCache();
|
||||
if (blockCache != null) {
|
||||
|
|
Loading…
Reference in New Issue