Skip to content

Commit

Permalink
chore(revert): revert typo fix to match 1x branch (#3032)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolea2 authored Jun 25, 2021
1 parent cab907b commit db4ed94
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ protected void onError(Status status, Metadata trailers) {

protected BigtableRetriesExhaustedException getExhaustedRetriesException(Status status) {
operationSpan.addAnnotation("exhaustedRetries");
rpc.getRpcMetrics().markRetriesExhausted();
rpc.getRpcMetrics().markRetriesExhasted();
finalizeStats(status);
String message = String.format("Exhausted retries after %d failures.", failedCount);
return new BigtableRetriesExhaustedException(message, status.asRuntimeException());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ protected boolean onOK(Metadata trailers) {
Long nextBackOff = getNextBackoff();
if (nextBackOff == null) {
// Return the response as is, and don't retry;
rpc.getRpcMetrics().markRetriesExhausted();
rpc.getRpcMetrics().markRetriesExhasted();
completionFuture.set(Arrays.asList(requestManager.buildResponse()));
operationSpan.addAnnotation(
"MutationCount",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void operationCancelled() {
@Override
public void operationFailed(Throwable error) {
if (lastRetryStatus == RetryStatus.RETRIES_EXHAUSTED) {
rpcMetrics.markRetriesExhausted();
rpcMetrics.markRetriesExhasted();
} else {
rpcMetrics.markFailure();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void markFailure() {
failureMeter.mark();
}

public void markRetriesExhausted() {
public void markRetriesExhasted() {
retriesExhaustedMeter.mark();
}
}

0 comments on commit db4ed94

Please sign in to comment.