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


##########
docs/ingestion/compaction.md:
##########
@@ -62,7 +62,7 @@ During compaction, Druid overwrites the original set of 
segments with the compac
 You can set `dropExisting` in `ioConfig` to "true" in the compaction task to 
configure Druid to replace all existing segments fully contained by the 
interval. See the suggestion for reindexing with finer granularity under 
[Implementation considerations](native-batch.md#implementation-considerations) 
for an example.
 > WARNING: `dropExisting` in `ioConfig` is a beta feature.
 
-If an ingestion task needs to write data to a segment for a time interval 
locked for compaction, by default the ingestion task supersedes the compaction 
task and the compaction task fails without finishing. For manual compaction 
tasks you can adjust the input spec interval to avoid conflicts between 
ingestion and compaction. For automatic compaction, you can set the 
`skipOffsetFromLatest` key to adjust the auto compaction starting point from 
the current time to reduce the chance of conflicts between ingestion and 
compaction. See [Compaction dynamic 
configuration](../configuration/index.md#compaction-dynamic-configuration) for 
more information. Another option is to set the compaction task to higher 
priority than the ingestion task.
+If an ingestion task needs to write data to a segment for a time interval 
locked for compaction, by default the ingestion task supersedes the compaction 
task and the compaction task fails without finishing. For manual compaction 
tasks you can adjust the input spec interval to avoid conflicts between 
ingestion and compaction. For automatic compaction, you can set the 
`skipOffsetFromLatest` key to adjust the auto compaction starting point from 
the current time to reduce the chance of conflicts between ingestion and 
compaction. See [Automatic compaction dynamic 
configuration](../configuration/index.md#automatic-compaction-dynamic-configuration)
 for more information. Another option is to set the compaction task to higher 
priority than the ingestion task.

Review Comment:
   ```suggestion
   If an ingestion task needs to write data to a segment for a time interval 
locked for compaction, by default the ingestion task supersedes the compaction 
task and the compaction task fails without finishing. For manual compaction 
tasks you can adjust the input spec interval to avoid conflicts between 
ingestion and compaction. For automatic compaction, you can set the 
`skipOffsetFromLatest` key to adjust the auto compaction starting point from 
the current time to reduce the chance of conflicts between ingestion and 
compaction. See [Automatic compaction dynamic 
configuration](../configuration/index.md#automatic-compaction-dynamic-configuration)
 for more information. Another option is to set the compaction task to higher 
priority than the ingestion task.
   ```
   ```suggestion
   If an ingestion task needs to write data to a segment for a time interval 
locked for compaction, by default the ingestion task supersedes the compaction 
task and the compaction task fails without finishing. For manual compaction 
tasks, you can adjust the input spec interval to avoid conflicts between 
ingestion and compaction. For automatic compaction, you can set the 
`skipOffsetFromLatest` key to adjust the auto compaction starting point from 
the current time to reduce the chance of conflicts between ingestion and 
compaction. See [Automatic compaction dynamic 
configuration](../configuration/index.md#automatic-compaction-dynamic-configuration)
 for more information. Another option is to set the compaction task to higher 
priority than the ingestion task.
   ```



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