HBASE-26086 TestHRegionReplayEvents do not pass in branch-2 and throws NullPointerException (#3480)
Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org> Signed-off-by: Reid Chan <reidchan@apache.org>
This commit is contained in:
parent
b83fec48dc
commit
1d0cfa9ed4
@ -8290,7 +8290,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
|
||||
if (this.metricsRegion != null) {
|
||||
this.metricsRegion.updateGet(EnvironmentEdgeManager.currentTime() - before);
|
||||
}
|
||||
if (rsServices != null) {
|
||||
if (rsServices != null && this.rsServices.getMetrics() != null) {
|
||||
rsServices.getMetrics().updateReadQueryMeter(getTableDescriptor().getTableName(), 1);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user