vogievetsky commented on code in PR #17782: URL: https://github.com/apache/druid/pull/17782#discussion_r1995858834
########## docs/api-reference/automatic-compaction-api.md: ########## @@ -258,6 +258,88 @@ Host: http://ROUTER_IP:ROUTER_PORT A successful request returns an HTTP `200 OK` message code and an empty response body. +### Update cluster-level compaction config + +Updates cluster-level configuration for compaction tasks which applies to all datasources, unless explicitly overridden in the datasource compaction config. +This includes the following fields: + +|Config|Description|Default value| +|------|-----------|-------------| +|`compactionTaskSlotRatio`|Ratio of number of slots taken up by compaction tasks to the number of total task slots across all workers.|0.1| +|`maxCompactionTaskSlots`|Maximum number of task slots that can be taken up by compaction tasks.|2147483647 (i.e. total task slots)| +|`compactionPolicy`|Policy to prioritize intervals for compaction|`newestSegmentFirst`| Review Comment: Also I noticed that the return of `GET /druid/coordinator/v1/config/compaction` has a slightly different shape. <img width="279" alt="image" src="https://github.com/user-attachments/assets/dc786d8e-a140-4db4-a8f5-8a2bfc8fae93" /> What is `priorityDatasource`? Can the same shape of object be submitted? -- 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]
