kamalcph commented on PR #16653:
URL: https://github.com/apache/kafka/pull/16653#issuecomment-2250039547

   > On a more important note, I believe deletion of data should never be a 
default option regardless of whether there are other configurations which might 
lead to the same situation!
   
   Assume that the user configures the remote-retention time to 1 year and 
remote-retention size to 1 TB and local-retention time to 1 day and 
local-retention size to 10 GB per partition. After one year, if the user wants 
to disable the remote storage and if we go with "retain" policy by default, 
then the local-log segments are not eligible for deletion until all the remote 
log segments gets deleted. The local machine may not have sufficient space to 
hold the 1 TB of data and can lead to disk getting full on the broker. 
   


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to