Skip to content

Commit

Permalink
HBASE-28049 RSProcedureDispatcher to log the request details during r…
Browse files Browse the repository at this point in the history
…etries (#5973)

Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
  • Loading branch information
KhyatiVaghamshi authored and virajjasani committed Jun 11, 2024
1 parent 7f60bd4 commit 48cf2f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ private boolean scheduleForRetry(IOException e) {
LOG.warn("{} is aborted or stopped, for safety we still need to"
+ " wait until it is fully dead, try={}", serverName, numberOfAttemptsSoFar);
} else {
LOG.warn("request to {} failed due to {}, try={}, retrying...", serverName, e.toString(),
numberOfAttemptsSoFar);
LOG.warn("request to {} failed due to {}, try={}, retrying... , request params: {}",
serverName, e.toString(), numberOfAttemptsSoFar, request.build());
}
numberOfAttemptsSoFar++;
// Add some backoff here as the attempts rise otherwise if a stuck condition, will fill logs
Expand Down

0 comments on commit 48cf2f7

Please sign in to comment.