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

   ## This Bug Report affects these Traffic Control components:
   
   - Traffic Control Cache Config (`t3c`, formerly ORT)
   
   ## Current behavior:
   
   When issuing an invalidation request, the config is written incorrectly to 
regex_revalidate.config. It adds the `STALE` keyword to the end and 
revalidation was not running on the CDN.
   
   I do not have all the details about how regex_revalidate works and in which 
version of ATS.
   
   This example was the Perl ORT version changing what t3c has written: 
   
   ```
   ERROR Lines for /opt/trafficserver/etc/trafficserver/regex_revalidate.config 
from Traffic Ops do not match file on disk.
   ERROR Config file regex_revalidate.config line only on disk :        
http://origin.net/.* 1653502105 STALE
   ERROR Config file regex_revalidate.config line only on disk :        
http://origin.net/sdv/. 1653508817 STALE
   ERROR Config file regex_revalidate.config line only on disk :        
http://origin.net/sdv/.* 1653507876 STALE
   ERROR Config file regex_revalidate.config line only in TrOps:        
http://origin.net/.* 1653502105
   ERROR Config file regex_revalidate.config line only in TrOps:        
http://origin.net/sdv/. 1653508817
   ERROR Config file regex_revalidate.config line only in TrOps:        
http://origin.net/sdv/.* 1653507876
   ```
   
   ## Expected behavior:
   
   STALE keyword should not be used when ATS doesn't support this feature.
   
   
   ## Steps to reproduce:
   
   Using unmodified Apachet Traffic Server 8.1.x or 9.1.x, try to run 
invalidation and verify the results.
   


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

Reply via email to