You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by gi...@apache.org on 2025/04/10 18:34:33 UTC

(druid) branch master updated: AsyncQueryForwardingServlet: Suppress stack traces for cancellation errors. (#17893)

This is an automated email from the ASF dual-hosted git repository.

gian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new f163e919b63 AsyncQueryForwardingServlet: Suppress stack traces for cancellation errors. (#17893)
f163e919b63 is described below

commit f163e919b631307d2146365d350592d1c5f5aa1d
Author: Gian Merlino <gi...@gmail.com>
AuthorDate: Thu Apr 10 11:34:28 2025 -0700

    AsyncQueryForwardingServlet: Suppress stack traces for cancellation errors. (#17893)
    
    There is no real need to log the entire stack trace, and they can clutter
    up the logs quite a bit.
---
 .../main/java/org/apache/druid/server/AsyncQueryForwardingServlet.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/src/main/java/org/apache/druid/server/AsyncQueryForwardingServlet.java b/services/src/main/java/org/apache/druid/server/AsyncQueryForwardingServlet.java
index 1fc1a6dfd06..f626b45d97f 100644
--- a/services/src/main/java/org/apache/druid/server/AsyncQueryForwardingServlet.java
+++ b/services/src/main/java/org/apache/druid/server/AsyncQueryForwardingServlet.java
@@ -334,7 +334,7 @@ public class AsyncQueryForwardingServlet extends AsyncProxyServlet implements Qu
       // issue async requests
       Response.CompleteListener completeListener = result -> {
         if (result.isFailed()) {
-          LOG.warn(
+          LOG.noStackTrace().warn(
               result.getFailure(),
               "Failed to forward cancellation request to [%s]",
               server.getHost()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org