HBASE-20854 Wrong retries number in RpcRetryingCaller's log message
This commit is contained in:
parent
5f9316e781
commit
b82ef56267
|
@ -121,7 +121,7 @@ public class RpcRetryingCallerImpl<T> implements RpcRetryingCaller<T> {
|
||||||
if (tries > startLogErrorsCnt) {
|
if (tries > startLogErrorsCnt) {
|
||||||
if (LOG.isInfoEnabled()) {
|
if (LOG.isInfoEnabled()) {
|
||||||
StringBuilder builder = new StringBuilder("Call exception, tries=").append(tries)
|
StringBuilder builder = new StringBuilder("Call exception, tries=").append(tries)
|
||||||
.append(", retries=").append(tries).append(", started=")
|
.append(", retries=").append(maxAttempts).append(", started=")
|
||||||
.append((EnvironmentEdgeManager.currentTime() - tracker.getStartTime()))
|
.append((EnvironmentEdgeManager.currentTime() - tracker.getStartTime()))
|
||||||
.append(" ms ago, ").append("cancelled=").append(cancelled.get())
|
.append(" ms ago, ").append("cancelled=").append(cancelled.get())
|
||||||
.append(", msg=").append(t.getMessage())
|
.append(", msg=").append(t.getMessage())
|
||||||
|
|
Loading…
Reference in New Issue