diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2022-06-16 15:33:09 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2022-06-16 16:02:04 +0200 |
commit | c5e68389699abc411a80db3a59974c0e5dfa493a (patch) | |
tree | 8a65bf5c5bc729671144a85f115e7018097ef160 /container-search | |
parent | 5ef7b0995a0334b8040eb64c75fda00e564b2e58 (diff) |
Improve error message on early timeout
Diffstat (limited to 'container-search')
-rw-r--r-- | container-search/src/main/java/com/yahoo/search/dispatch/rpc/RpcProtobufFillInvoker.java | 2 | ||||
-rw-r--r-- | container-search/src/main/java/com/yahoo/search/dispatch/rpc/RpcSearchInvoker.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/dispatch/rpc/RpcProtobufFillInvoker.java b/container-search/src/main/java/com/yahoo/search/dispatch/rpc/RpcProtobufFillInvoker.java index 3de83e2fe9e..9e426cfe164 100644 --- a/container-search/src/main/java/com/yahoo/search/dispatch/rpc/RpcProtobufFillInvoker.java +++ b/container-search/src/main/java/com/yahoo/search/dispatch/rpc/RpcProtobufFillInvoker.java @@ -84,7 +84,7 @@ public class RpcProtobufFillInvoker extends FillInvoker { // Need to produce an error response her in case of JVM system clock being adjusted // Timeout mechanism relies on System.currentTimeMillis(), not System.nanoTime() :( hitsByNode.forEach((nodeId, hits) -> - receive(Client.ResponseOrError.fromTimeoutError("Timed out waiting for summary data from " + nodeId), hits)); + receive(Client.ResponseOrError.fromTimeoutError("Timed out prior to sending docsum request to " + nodeId), hits)); return; } var builder = ProtobufSerialization.createDocsumRequestBuilder( diff --git a/container-search/src/main/java/com/yahoo/search/dispatch/rpc/RpcSearchInvoker.java b/container-search/src/main/java/com/yahoo/search/dispatch/rpc/RpcSearchInvoker.java index f80a40f95c8..64e0dd666dd 100644 --- a/container-search/src/main/java/com/yahoo/search/dispatch/rpc/RpcSearchInvoker.java +++ b/container-search/src/main/java/com/yahoo/search/dispatch/rpc/RpcSearchInvoker.java @@ -60,7 +60,7 @@ public class RpcSearchInvoker extends SearchInvoker implements Client.ResponseRe if (timeout.timedOut()) { // Need to produce an error response her in case of JVM system clock being adjusted // Timeout mechanism relies on System.currentTimeMillis(), not System.nanoTime() :( - responses.add(Client.ResponseOrError.fromTimeoutError("Timeout while waiting for " + getName())); + responses.add(Client.ResponseOrError.fromTimeoutError("Timeout before sending request to " + getName())); responseAvailable(); return incomingContext; } |