HBASE-23585 MetricsRegionServerWrapperImpl.getL1CacheHitCount always returns 200 (#945)
Signed-off-by: Jan Hentschel <janh@apache.org> Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
19b35d2b19
commit
6b940ae986
|
@ -343,7 +343,10 @@ class MetricsRegionServerWrapperImpl
|
|||
|
||||
@Override
|
||||
public long getL1CacheHitCount() {
|
||||
return 200;
|
||||
if (this.l1Stats == null) {
|
||||
return 0;
|
||||
}
|
||||
return this.l1Stats.getHitCount();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue