JosiahWI opened a new issue, #11457:
URL: https://github.com/apache/trafficserver/issues/11457

   The one I noticed is in agg_copy; in debug mode, every time bytes are copied 
to the aggregation buffer to prepare for writing, it's counted as a backlog 
failure instead of a write. The cache will appear to have a problem due to a 
high number of incorrectly reported backlog failures and no bytes written. This 
was introduced in f23826d; I don't know whether there might be other similar 
issues introduced in the way.
   
   ```diff
   -        CACHE_DEBUG_SUM_DYN_STAT(cache_write_bytes_stat, vc->write_len);
   +
   +// ToDo: Why are these for debug only ?
   +#ifdef DEBUG
   +        Metrics::increment(cache_rsb.write_backlog_failure);
   +        Metrics::increment(vol->cache_vol->vol_rsb.write_backlog_failure);
   +#endif
   ```


-- 
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: issues-unsubscr...@trafficserver.apache.org.apache.org

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

Reply via email to