Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit e191b30

Browse files
fix logic error
Change-Id: I1cfe58cf64227f1ceb2012b20bf532407dbdcd33
1 parent 67f5bd6 commit e191b30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/BuiltinMetricsTracer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ private void recordAttemptCompletion(@Nullable Throwable throwable) {
385385
methodInfo,
386386
sidebandData.getResponseParams(),
387387
code,
388-
Comparators.min(remainingDeadlineAtAttemptStart, Duration.ZERO));
388+
Comparators.max(remainingDeadlineAtAttemptStart, Duration.ZERO));
389389
}
390390

391391
if (sidebandData.getGfeTiming() != null) {

0 commit comments

Comments
 (0)