Page MenuHomePhabricator

SDC: SimpleCacheWithBagOStuff throwing CacheInvalidArgumentException due to invalid cache key on Commons
Open, HighPublic

Description

A couple examples from today's commonswiki error log:

Wikibase\Lib\CacheInvalidArgumentException from line 282 of /srv/mediawiki/php-1.35.0-wmf.41/extensions/Wikibase/lib/includes/SimpleCacheWithBagOStuff.php: Cache key contains characters that are not allowed: `Q484768_982

Wikibase\Lib\CacheInvalidArgumentException from line 282 of /srv/mediawiki/php-1.35.0-wmf.41/extensions/Wikibase/lib/includes/SimpleCacheWithBagOStuff.php: Cache key contains characters that are not allowed: `Q274193_123

I'm not sure what's causing it, but I assume it's related to SDC since the error is thrown by Wikibase.

Event Timeline

kaldari created this task.Jul 21 2020, 11:35 PM
Restricted Application added a project: Structured-Data-Backlog. · View Herald TranscriptJul 21 2020, 11:35 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
kaldari renamed this task from SDC throwing fatal error due to invalid cache key to SDC throwing exception due to invalid cache key.Jul 21 2020, 11:39 PM
Ramsey-WMF added subscribers: Ladsgroup, Addshore, hoo, Ramsey-WMF.

This looks like T245396, which @Ladsgroup @Addshore and @hoo worked on just a few months ago. I think they have more expertise here than we do 🙂

Krinkle renamed this task from SDC throwing exception due to invalid cache key to SDC: SimpleCacheWithBagOStuff throwing CacheInvalidArgumentException due to invalid cache key on Commons.Jul 22 2020, 2:16 AM
Krinkle triaged this task as High priority.
Krinkle added a project: Wikidata-Campsite.

This thing again. It's like a whac-a-mole now. @Michael done the most recent work on it AFAIK.

This seems to have been one single spike over a span of maybe 3 minutes on 2020-07-19:

Maybe some strange misaligned versions during deployment?