|
@@ -947,8 +947,12 @@ public class TransportService extends AbstractLifecycleComponent implements Repo
|
|
|
TimeoutInfoHolder timeoutInfoHolder = timeoutInfoHandlers.remove(requestId);
|
|
|
if (timeoutInfoHolder != null) {
|
|
|
long time = threadPool.relativeTimeInMillis();
|
|
|
- logger.warn("Received response for a request that has timed out, sent [{}ms] ago, timed out [{}ms] ago, " +
|
|
|
- "action [{}], node [{}], id [{}]", time - timeoutInfoHolder.sentTime(), time - timeoutInfoHolder.timeoutTime(),
|
|
|
+ long sentMs = time - timeoutInfoHolder.sentTime();
|
|
|
+ long timedOutMs = time - timeoutInfoHolder.timeoutTime();
|
|
|
+ logger.warn("Received response for a request that has timed out, sent [{}/{}ms] ago, timed out [{}/{}ms] ago, " +
|
|
|
+ "action [{}], node [{}], id [{}]",
|
|
|
+ TimeValue.timeValueMillis(sentMs), sentMs,
|
|
|
+ TimeValue.timeValueMillis(timedOutMs), timedOutMs,
|
|
|
timeoutInfoHolder.action(), timeoutInfoHolder.node(), requestId);
|
|
|
action = timeoutInfoHolder.action();
|
|
|
sourceNode = timeoutInfoHolder.node();
|