Skip to content

Commit

Permalink
add partial failure tests for batchget
Browse files Browse the repository at this point in the history
  • Loading branch information
m-nagarajan committed Jul 25, 2023
1 parent dbd8ccf commit acc42fe
Show file tree
Hide file tree
Showing 5 changed files with 310 additions and 215 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ private <R> CompletableFuture<R> recordRequestMetrics(
clientStats.recordRetryRequestKeyCount(batchGetRequestContext.numberOfKeysSentInRetryRequest);
clientStats
.recordRetryRequestSuccessKeyCount(batchGetRequestContext.numberOfKeysCompletedInRetryRequest.get());
if (batchGetRequestContext.numberOfKeysCompletedInRetryRequest.get() > 0) {
clientStats.recordRetryRequestWin();
}
}
}

Expand Down
Loading

0 comments on commit acc42fe

Please sign in to comment.