HBASE-22656 [Metrics] Table metrics 'BatchPut' and 'BatchDelete' are never updated
Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
parent
9116534f5d
commit
605f8a15bb
|
@ -101,7 +101,7 @@ public class MetricsRegionServer {
|
|||
|
||||
public void updatePutBatch(TableName tn, long t) {
|
||||
if (tableMetrics != null && tn != null) {
|
||||
tableMetrics.updatePut(tn, t);
|
||||
tableMetrics.updatePutBatch(tn, t);
|
||||
}
|
||||
if (t > 1000) {
|
||||
serverSource.incrSlowPut();
|
||||
|
@ -125,7 +125,7 @@ public class MetricsRegionServer {
|
|||
|
||||
public void updateDeleteBatch(TableName tn, long t) {
|
||||
if (tableMetrics != null && tn != null) {
|
||||
tableMetrics.updateDelete(tn, t);
|
||||
tableMetrics.updateDeleteBatch(tn, t);
|
||||
}
|
||||
if (t > 1000) {
|
||||
serverSource.incrSlowDelete();
|
||||
|
|
Loading…
Reference in New Issue