You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/10/14 15:00:03 UTC

[GitHub] [trafficcontrol] smalenfant opened a new issue #5149: ORT: Delete untracked files due to removed header rewrite or delivery delivery services

smalenfant opened a new issue #5149:
URL: https://github.com/apache/trafficcontrol/issues/5149


   ## I'm submitting a enhancement request
   
   Today, removed header rewrite from TO or deleted delivery services keeps the files on disk. I would call this garbage collection that needs cleaned up. 
   
   This might apply more than just header rewrite.
   
   ## Traffic Control components affected ...
   -  Traffic Ops ORT
   
   ## Current behavior:
   header rewrite are kept when header rewrite parameter are removed and when delivery services are deleted.
   
   ## New behavior:
   Delete untracked files due to the above
   
   ## Minimal reproduction of the problem with instructions:
   
   - Add header rewrite to a DS
   - Run ORT and verify the changes
   - Remove header from the DS
   - Run ORT and observer files are kept on disk
   - Delete delivery service
   - Run ORT and observer files are kept on disk
   


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



[GitHub] [trafficcontrol] rob05c commented on issue #5149: ORT: Delete untracked files due to removed header rewrite or delivery delivery services

Posted by GitBox <gi...@apache.org>.
rob05c commented on issue #5149:
URL: https://github.com/apache/trafficcontrol/issues/5149#issuecomment-708475532


   More than just garbage, this can potentially cause bugs. E.g. if a Header Rewrite is completely removed from a DS, it can end up sticking around because ORT no longer knows the file exists


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