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 2021/02/10 23:36:40 UTC

[GitHub] [druid] capistrant opened a new issue #10876: Druid Coordinator automated segment kill utility should allow killing segments with future intervals

capistrant opened a new issue #10876:
URL: https://github.com/apache/druid/issues/10876


   ### Description
   
   Right now, `druid.coordinator.kill.durationToRetain` must be a positive duration. The `KillUnusedSegments` class subtracts the milliseconds value of this Duration from "now" when it is creating the upper bound on the interval "end" date that it uses when looking for segments eligible to kill. This change would remove that requirement of a positive duration for the configuration. A negative duration would translate into allowing kill tasks to be submitted against unused segments whose intervals end in the future.
   
   ### Motivation
   
   Please provide the following for the desired feature or change:
   - A detailed description of the intended use case, if applicable
   
   > There is nothing that prevents clusters from having segments that have intervals in the future as compared to "now". Things such as data forecasts could be an example. If these exist and become unused, there should be a way to have them cleaned up automatically just like segments whose interval end comes before "now".
   
   - Rationale for why the desired feature/change would be beneficial
   
   > Helps operators keep deep storage and metadata storage clean.


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


[GitHub] [druid] capistrant commented on issue #10876: Druid Coordinator automated segment kill utility should allow killing segments with future intervals

Posted by GitBox <gi...@apache.org>.
capistrant commented on issue #10876:
URL: https://github.com/apache/druid/issues/10876#issuecomment-777110042


   I have an implementation coming soon to address this.


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