You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "github-advanced-security[bot] (via GitHub)" <gi...@apache.org> on 2025/07/04 18:52:27 UTC

Re: [PR] Implement per-segment query timeout on data nodes (druid)

github-advanced-security[bot] commented on code in PR #18148:
URL: https://github.com/apache/druid/pull/18148#discussion_r2185936796


##########
processing/src/main/java/org/apache/druid/query/groupby/epinephelinae/GroupByMergingQueryRunner.java:
##########
@@ -392,6 +403,15 @@
     }
     catch (ExecutionException e) {
       GuavaUtils.cancelAll(true, future, futures);
+      Throwable cause = e.getCause();
+      Throwables.propagateIfPossible(cause);

Review Comment:
   ## Deprecated method or constructor invocation
   
   Invoking [Throwables.propagateIfPossible](1) should be avoided because it has been deprecated.
   
   [Show more details](https://github.com/apache/druid/security/code-scanning/9361)



##########
processing/src/main/java/org/apache/druid/query/ChainedExecutionQueryRunner.java:
##########
@@ -165,8 +180,16 @@
             }
             catch (ExecutionException e) {
               GuavaUtils.cancelAll(true, future, futures);
-              Throwables.propagateIfPossible(e.getCause());
-              throw new RuntimeException(e.getCause());
+              Throwable cause = e.getCause();
+              Throwables.propagateIfPossible(cause);

Review Comment:
   ## Deprecated method or constructor invocation
   
   Invoking [Throwables.propagateIfPossible](1) should be avoided because it has been deprecated.
   
   [Show more details](https://github.com/apache/druid/security/code-scanning/9360)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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