Skip to content

Commit 5b0f210

Browse files
committed
delete countOfRPCRetries
1 parent b0fbb44 commit 5b0f210

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/Scanner.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1817,8 +1817,6 @@ public static class ScanMetrics extends ServerSideScanMetrics {
18171817
*/
18181818
private long count_of_regions = 1;
18191819

1820-
private long count_of_rpc_retries = 0;
1821-
18221820
/**
18231821
* Number of RPC calls.
18241822
*/
@@ -1844,11 +1842,6 @@ public static class ScanMetrics extends ServerSideScanMetrics {
18441842
*/
18451843
public long getCountOfRegions() { return count_of_regions; };
18461844

1847-
/**
1848-
* Number of RPC retries.
1849-
*/
1850-
public long getCountOfRPCRetries() { return count_of_rpc_retries; }
1851-
18521845
public ScanMetrics() {
18531846
}
18541847

@@ -1861,7 +1854,6 @@ public Map<String, Long> getMetricsMap() {
18611854
builder.put(NOT_SERVING_REGION_EXCEPTION_METRIC_NAME, count_of_nsre);
18621855
builder.put(BYTES_IN_RESULTS_METRIC_NAME, count_of_bytes_in_results);
18631856
builder.put(REGIONS_SCANNED_METRIC_NAME, count_of_regions);
1864-
builder.put(RPC_RETRIES_METRIC_NAME, count_of_rpc_retries);
18651857
return builder.build();
18661858
}
18671859
}

0 commit comments

Comments
 (0)