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/04/23 17:01:34 UTC

[GitHub] [druid] jihoonson commented on issue #9755: why doesn't Druid delete small segments after compact task complete?

jihoonson commented on issue #9755:
URL: https://github.com/apache/druid/issues/9755#issuecomment-618518838


   Hi @FrankChen021, Druid doesn't delete any data by itself even after compaction because you may want to revert the last compaction for some reason such as wrong compaction schema, or even a bug in compaction task. In your case, I think the auto unused segment cleanup by the coordinator may be useful. You can enable it by setting `druid.coordinator.kill.on` to true. You may also want to set `druid.coordinator.kill.durationToRetain` to avoid cleaning up unused segments too early. With this way, you can have some unused segments created by compaction for `durationToRetain` as well, but I guess it could be acceptable. 


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