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 2019/08/08 18:27:02 UTC

[GitHub] [incubator-druid] pdeva commented on issue #8264: permanently deleting old segment from metadata should be part of datasource lifecycle

pdeva commented on issue #8264: permanently deleting old segment from metadata should be part of datasource lifecycle
URL: https://github.com/apache/incubator-druid/issues/8264#issuecomment-519635068
 
 
   The documentation for `druid.coordinator.kill.on` is very confusing:
   
   ```
   Boolean flag for whether or not the Coordinator should 
   submit kill task for unused segments, that is, 
   hard delete them from metadata store and deep storage.
   ```
   
   What qualifies as `unused` segments?
   
   If i want to add a lifecyle rule to load say 90 days of data, and accidentally type 80 instead of 90, will coordinator have already deleted those extra 10 days permanently by then? 
   
   ```
   If set to true, then for all whitelisted dataSources (or optionally all), 
   Coordinator will submit tasks periodically based on period specified. 
   ```
   
   Where does one specify the said `period`? This is a boolean property
   
   ```
   These kill tasks will delete all segments except for the last durationToRetain period.
   ```
   
   What `durationToRetain` is this referring to?
   Also does it apply the same `duration` to all datasources? 
   How do i specify different durations for different datasources?
   
   
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org