ektravel commented on code in PR #12416:
URL: https://github.com/apache/druid/pull/12416#discussion_r861027688


##########
docs/operations/api-reference.md:
##########
@@ -458,52 +458,52 @@ to filter by interval and limit the number of results 
respectively.
 
 Update overlord dynamic worker configuration.
 
-#### Compaction Status
+#### Compaction status
 
 ##### GET
 
 * `/druid/coordinator/v1/compaction/progress?dataSource={dataSource}`
 
 Returns the total size of segments awaiting compaction for the given 
dataSource. 
-This is only valid for dataSource which has compaction enabled. 
+The specified dataSource must have automatic compaction enabled.
 
 ##### GET
 
 * `/druid/coordinator/v1/compaction/status`
 
-Returns the status and statistics from the auto compaction run of all 
dataSources which have auto compaction enabled in the latest run.
-The response payload includes a list of `latestStatus` objects. Each 
`latestStatus` represents the status for a dataSource (which has/had auto 
compaction enabled). 
+Returns the status and statistics from the auto-compaction run of all 
dataSources which have auto-compaction enabled in the latest run.
+The response payload includes a list of `latestStatus` objects. Each 
`latestStatus` represents the status for a dataSource (which has/had 
auto-compaction enabled).
 The `latestStatus` object has the following keys:
 * `dataSource`: name of the datasource for this status information
-* `scheduleStatus`: auto compaction scheduling status. Possible values are 
`NOT_ENABLED` and `RUNNING`. Returns `RUNNING ` if the dataSource has an active 
auto compaction config submitted otherwise, `NOT_ENABLED`
-* `bytesAwaitingCompaction`: total bytes of this datasource waiting to be 
compacted by the auto compaction (only consider intervals/segments that are 
eligible for auto compaction)
-* `bytesCompacted`: total bytes of this datasource that are already compacted 
with the spec set in the auto compaction config.
-* `bytesSkipped`: total bytes of this datasource that are skipped (not 
eligible for auto compaction) by the auto compaction.
-* `segmentCountAwaitingCompaction`: total number of segments of this 
datasource waiting to be compacted by the auto compaction (only consider 
intervals/segments that are eligible for auto compaction)
-* `segmentCountCompacted`: total number of segments of this datasource that 
are already compacted with the spec set in the auto compaction config.
-* `segmentCountSkipped`: total number of segments of this datasource that are 
skipped (not eligible for auto compaction) by the auto compaction.
-* `intervalCountAwaitingCompaction`: total number of intervals of this 
datasource waiting to be compacted by the auto compaction (only consider 
intervals/segments that are eligible for auto compaction)
-* `intervalCountCompacted`: total number of intervals of this datasource that 
are already compacted with the spec set in the auto compaction config.
-* `intervalCountSkipped`: total number of intervals of this datasource that 
are skipped (not eligible for auto compaction) by the auto compaction.
+* `scheduleStatus`: auto-compaction scheduling status. Possible values are 
`NOT_ENABLED` and `RUNNING`. Returns `RUNNING ` if the dataSource has an active 
auto-compaction config submitted otherwise, `NOT_ENABLED`

Review Comment:
   ```suggestion
   * `scheduleStatus`: auto-compaction scheduling status. Possible values are 
`NOT_ENABLED` and `RUNNING`. Returns `RUNNING ` if the dataSource has an active 
auto-compaction config submitted. Otherwise, returns `NOT_ENABLED`.
   ```



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