masaori335 opened a new pull request, #11906: URL: https://github.com/apache/trafficserver/pull/11906
Prior to the change, when `StripeSM::handle_dir_clear` faced an error, it set `fd = -1`. However, when `CacheProcessor::mark_storage_offline` makes a bad `CacheDisk` offline, it's comparing `CacheDisk::fd` and `StripeSM::fd`. https://github.com/apache/trafficserver/blob/dc59c4c1fc8243f60601127442ea6835c434ffdd/src/iocore/cache/CacheProcessor.cc#L457-L463 This might mess below metrics - `proxy.process.cache.direntries.total` - `proxy.process.cache.direntries.used` - `proxy.process.cache.bytes_total` FWIW, rebuilding Stripe Hash Table seems not affected by this. -- 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]
