abhishekrb19 commented on issue #16030: URL: https://github.com/apache/druid/issues/16030#issuecomment-1988308932
@micomahesh1982, you can enable auto-kill, please see these docs - https://druid.apache.org/docs/latest/operations/clean-metadata-store/#configure-automated-metadata-cleanup and https://druid.apache.org/docs/latest/configuration/#coordinator-operation. > I’m not sure how to dynamically delete the ALL granular segments. Setting the `druid.coordinator.kill.*` properties in `coordinator/runtime.properties` should enable the coordinator duty to periodically delete all unused segments from the datasources based on your configuration [values](https://druid.apache.org/docs/latest/configuration/#coordinator-operation). If I understand your second question above correctly, if you specify an interval `-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z` in the API-issued kill task, the kill task will delete _all_ unused segments whose interval overlaps with this specified kill interval. For example, if you have an unused segment with an interval `2000-01-01/2001-01-01`, that will be deleted too as it overlaps with `-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z`. -- 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: commits-unsubscr...@druid.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org