adarshsanjeev commented on code in PR #17899:
URL: https://github.com/apache/druid/pull/17899#discussion_r2051992590


##########
docs/querying/query-context.md:
##########
@@ -66,6 +66,7 @@ See [SQL query context](sql-query-context.md) for other query 
context parameters
 |`debug`| `false` | Flag indicating whether to enable debugging outputs for 
the query. When set to false, no additional logs will be produced (logs 
produced will be entirely dependent on your logging level). When set to true, 
the following addition logs will be produced:<br />- Log the stack trace of the 
exception (if any) produced by the query |
 |`setProcessingThreadNames`|`true`| Whether processing thread names will be 
set to `queryType_dataSource_intervals` while processing a query. This aids in 
interpreting thread dumps, and is on by default. Query overhead can be reduced 
slightly by setting this to `false`. This has a tiny effect in most scenarios, 
but can be meaningful in high-QPS, low-per-segment-processing-time scenarios. |
 |`sqlPlannerBloat`|`1000`|Calcite parameter which controls whether to merge 
two Project operators when inlining expressions causes complexity to increase. 
Implemented as a workaround to exception `There are not enough rules to produce 
a node with desired properties: convention=DRUID, sort=[]` thrown after 
rejecting the merge of two projects.|
+|`cloneQueryMode`|`EXCLUDE`| Indicates whether clone Historicals should be 
queried by brokers. Clone servers are created by the `cloneServers` Coordinator 
dynamic configuration. Possible values are `EXCLUDE`, `INCLUDE` and 
`CLONE_PREFERRED`. `EXCLUDE` means that clone Historicals are not queried by 
the broker. `CLONE_PREFERRED` indicates that when given a choice between the 
clone Historical and the original Historical which is being cloned, the broker 
chooses the clones; Historicals which are not involved in the cloning process 
will still be queried. `INCLUDE` means that broker queries any Historical 
without regarding clone status. This parameter only affects native queries; MSQ 
does not query Historicals directly, and Dart will not respect this context 
parameter.|

Review Comment:
   I think `ClonesPreferred` makes more sense. `onlyClones` implies that no non 
clone server is queried. This is not true, Servers which are not at all in the 
clone mapping are queried either way. If this were not the case, many queries 
would not be possible as segments would be missing.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to