traeak commented on pull request #7064:
URL: https://github.com/apache/trafficserver/pull/7064#issuecomment-668001739


   > > 
https://github.com/apache/trafficserver/blob/18042049ee31fdb1d7063a197787c61d4c3e471c/iocore/cache/CacheRead.cc#L605
   > 
   > In this case, we don't need to delete earliest_dir because dir is already 
cleared by writer. But it is ok to delete earliest_dir again (It is do nothing 
for earliest_dir).
   
   I could narrow down the logic or else add a comment that this line already 
clears the entry if that would help make things clearer in the future.


----------------------------------------------------------------
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:
[email protected]


Reply via email to