You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/11/12 15:16:38 UTC

[GitHub] [druid] a2l007 commented on a change in pull request #10554: Add missing docs for timeout exceptions

a2l007 commented on a change in pull request #10554:
URL: https://github.com/apache/druid/pull/10554#discussion_r522183722



##########
File path: docs/querying/querying.md
##########
@@ -117,9 +117,12 @@ If a query fails, you will get an HTTP 500 response containing a JSON object wit
   "host" : "druid1.example.com:8083"
 }
 ```
+The HTTP response code returned depends on the type of query failure. For timed out queries, an HTTP 504 response code is returned.
 
 If a query request fails due to being limited by the [query scheduler laning configuration](../configuration/index.md#broker), an HTTP 429 response with the same JSON object schema as an error response, but with `errorMessage` of the form: "Total query capacity exceeded" or "Query capacity exceeded for lane 'low'".
 
+For every other type of query failures, an HTTP 500 response code is returned.

Review comment:
       Good catch. Added




----------------------------------------------------------------
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.

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