change 924569 in the CirrusSearch extension, added use of caching to its jobs using the name CirrusSearchParserOutputPageProperties for its cache key group.
The change was deployed last week on May 30th. Based on flame graphs from RunSingleJob we know that the code in question is in fact running in production. The graph shows the modified code of ParserOutputPageProperties::finalize, which is calling WANObjectCache->getWithSet.
Problem: The key is not available from the dropdown menu on Grafana: WANObjectCache stats by key group.
What I've checked off so far:
- It's not a Grafana-related caching issue. When entering CirrusSearchParserOutputPageProperties directly in the dropdown menu as freeform text and pressing return, it shows no data.
- It's not a Graphite API or replication issue. I checked the server-side at krinkle@graphite1005:/var/lib/carbon/whisper/MediaWiki/wanobjectcache and there is no directory there named CirrusSearchParserOutputPageProperties, nor anything that looks like it.
- Other stats from CirrusSearch cache keys are working fine however. And new cache keys from other MW components also appear to work fine.
- The specific call in MediaWiki code for extracting the key group from the key string seems work fine:
krinkle@mwmaint1002.eqiad.wmnet$ mwscript eval.php --wiki commonswiki > $cache = MediaWiki\MediaWikiServices::getInstance()->getMainWANObjectCache(); > $key = $cache->makeKey('CirrusSearchParserOutputPageProperties', 100, 100, '2023'); commonswiki:CirrusSearchParserOutputPageProperties:100:100:2023 > print explode( ':', $key, 3 )[1]; // WANObjectCache::determineKeyClassForStats CirrusSearchParserOutputPageProperties