Last modified: 2014-05-15 13:42:22 UTC
there are quite a few log entries reporting Exception from line 98 of WikiPageEntityLookup Looks related to editing, as there are edits on the items at the same time as the log entry. I am unable to reproduce but perhaps we will get reports related to this or someone can reproduce this. /w/api.php?action=wbgetentities&props=sitelinks&format=json&ids=Q9592 Exception from line 98 of /usr/local/apache/common-local/php-1.23wmf17/extensions/Wikidata/extensions/Wikibase/lib/includes/store/sql/WikiPageEntityLookup.php: No such revision found for Q9592: 115781299 #0 /usr/local/apache/common-local/php-1.23wmf17/extensions/Wikidata/extensions/Wikibase/lib/includes/store/sql/CachingEntityRevisionLookup.php(141): Wikibase\WikiPageEntityLookup->getEntityRevision(Object(Wikibase\DataModel\Entity\ItemId), '115781299') #1 /usr/local/apache/common-local/php-1.23wmf17/extensions/Wikidata/extensions/Wikibase/lib/includes/store/sql/CachingEntityRevisionLookup.php(121): Wikibase\store\CachingEntityRevisionLookup->fetchEntityRevision(Object(Wikibase\DataModel\Entity\ItemId), '115781299') #2 /usr/local/apache/common-local/php-1.23wmf17/extensions/Wikidata/extensions/Wikibase/lib/includes/store/sql/CachingEntityRevisionLookup.php(141): Wikibase\store\CachingEntityRevisionLookup->getEntityRevision(Object(Wikibase\DataModel\Entity\ItemId), 0) #3 /usr/local/apache/common-local/php-1.23wmf17/extensions/Wikidata/extensions/Wikibase/lib/includes/store/sql/CachingEntityRevisionLookup.php(121): Wikibase\store\CachingEntityRevisionLookup->fetchEntityRevision(Object(Wikibase\DataModel\Entity\ItemId), 0) #4 /usr/local/apache/common-local/php-1.23wmf17/extensions/Wikidata/extensions/Wikibase/repo/includes/api/GetEntities.php(192): Wikibase\store\CachingEntityRevisionLookup->getEntityRevision(Object(Wikibase\DataModel\Entity\ItemId)) #5 /usr/local/apache/common-local/php-1.23wmf17/extensions/Wikidata/extensions/Wikibase/repo/includes/api/GetEntities.php(80): Wikibase\Api\GetEntities->getEntityRevisionsFromEntityIds(Array) #6 /usr/local/apache/common-local/php-1.23wmf17/includes/api/ApiMain.php(862): Wikibase\Api\GetEntities->execute() #7 /usr/local/apache/common-local/php-1.23wmf17/includes/api/ApiMain.php(363): ApiMain->executeAction() #8 /usr/local/apache/common-local/php-1.23wmf17/includes/api/ApiMain.php(334): ApiMain->executeActionWithErrorHandling() #9 /usr/local/apache/common-local/php-1.23wmf17/api.php(76): ApiMain->execute() #10 /usr/local/apache/common-local/w/api.php(3): require('/usr/local/apac...')
there are 63 log entries for this in the past hour. not a huge amount though not small either.
we are being pinged about this. It would be good to figure out the cause, try to reproduce and fix this
this is still occurring on mw1.23-wmf19 /w/api.php?action=wbgetentities&props=sitelinks&format=json&ids=Q14919477 Exception from line 98 of /usr/local/apache/common-local/php-1.23wmf19/extensions/Wikidata/extensions/Wikibase/lib/includes/store/sql/WikiPageEntityLookup.php: No such revision found for Q14919477: 117915426
note it still happened when we had mw1.23-wmf21 deployed
Change 130350 had a related patch set uploaded by Aude: Make WikiPageEntityLookup more robust with attempt to load from DB_MASTER https://gerrit.wikimedia.org/r/130350
Change 130350 merged by jenkins-bot: Make WikiPageEntityLookup more robust with attempt to load from DB_MASTER https://gerrit.wikimedia.org/r/130350
Change 130415 had a related patch set uploaded by Aude: Make WikiPageEntityLookup more robust with attempt to load from DB_MASTER https://gerrit.wikimedia.org/r/130415
Change 130415 merged by jenkins-bot: Make WikiPageEntityLookup more robust with attempt to load from DB_MASTER https://gerrit.wikimedia.org/r/130415
no longer appears in the logs :)