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 0729862 commit 5bcd60c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,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 5bcd60c

Please sign in to comment.