gtenev opened a new pull request #7028:
URL: https://github.com/apache/trafficserver/pull/7028


   Fixed a problem with cache volume configurations where all volumes are
   forced to a span (disk) in `storage.config` and percentage size is used
   in `volume.config`. Sample configuration:
   
   ```
   storage.config:
     var/trafficserver/disks/disk1 512M volume=1
     var/trafficserver/disks/disk2 512M volume=1
     var/trafficserver/disks/disk3 512M volume=2
   
   volume.config:
     volume=1 scheme=http size=100%
     volume=2 scheme=http size=512
   ```
   
   Since "forced" volumes are now excluded from "total cache space" used
   for volume size percentage calculations when all spans (disks) are
   "forced" to volumes the "total cache space" becomes 0 and then volume
   sizes calculated as percentage become 0. This patch fixes the issue and
   also handles the case when a single volume is forced to multiple spans.


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