kfaraz commented on issue #17486:
URL: https://github.com/apache/druid/issues/17486#issuecomment-2514006103

   > And those segments are not in the "sys.segments" table. Maybe this is why 
the killing is not working?
   
   sys.segments only shows "used" segments. So it is expected that unused 
segments will not show up there.
   
   > Are they supposed to be killed 3 days after being compacted according to 
my configuration? Is there any other factors that can prevent the killing from 
happening?
   
   Based on [Druid configuration 
docs](https://druid.apache.org/docs/latest/configuration/#coordinator-operation),
   
   > druid.coordinator.kill.bufferPeriod=P1D
   
   the `bufferPeriod` ensures that once segments have been marked as unused, we 
should wait for a day before completely deleting them.
   
   > druid.coordinator.kill.durationToRetain=P2D
   
   the `durationToRetain` denotes that only the unused segments whose interval 
end is older than 2 days from now are eligible for deletion.
   
   To debug your particular problem, you can check if any `kill` task was 
launched. If it was, you can try to look at the logs of that task to identify 
the segments that were actually killed.


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