Error
MediaWiki version: 1.35.0-wmf.23
Fatal error: Call to a member function fetch_object() on boolean
#0 /srv/mediawiki/php-1.35.0-wmf.23/includes/libs/rdbms/database/DatabaseMysqlBase.php(255): Wikimedia\Rdbms\DatabaseMysqli->mysqlFetchObject(boolean) #1 /srv/mediawiki/php-1.35.0-wmf.23/includes/libs/rdbms/database/DatabaseMysqlBase.php(1091): Wikimedia\Rdbms\DatabaseMysqlBase->fetchObject(boolean) #2 /srv/mediawiki/php-1.35.0-wmf.23/includes/libs/rdbms/loadbalancer/LoadBalancer.php(2065): Wikimedia\Rdbms\DatabaseMysqlBase->serverIsReadOnly() #3 /srv/mediawiki/php-1.35.0-wmf.23/includes/libs/objectcache/BagOStuff.php(148): Wikimedia\Rdbms\LoadBalancer->Wikimedia\Rdbms\{closure}(integer) #4 /srv/mediawiki/php-1.35.0-wmf.23/includes/libs/rdbms/loadbalancer/LoadBalancer.php(2069): BagOStuff->getWithSetCallback(string, integer, Closure) #5 /srv/mediawiki/php-1.35.0-wmf.23/includes/libs/rdbms/loadbalancer/LoadBalancer.php(966): Wikimedia\Rdbms\LoadBalancer->isMasterConnectionReadOnly(Wikimedia\Rdbms\DatabaseMysqli, integer) #6 /srv/mediawiki/php-1.35.0-wmf.23/includes/libs/rdbms/loadbalancer/LoadBalancer.php(901): Wikimedia\Rdbms\LoadBalancer->getServerConnection(integer, string, integer) #7 /srv/mediawiki/php-1.35.0-wmf.23/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1031): Wikimedia\Rdbms\LoadBalancer->getConnection(integer, array, string, integer) #8 /srv/mediawiki/php-1.35.0-wmf.23/includes/externalstore/ExternalStoreDB.php(168): Wikimedia\Rdbms\LoadBalancer->getConnectionRef(integer, array, string, integer) #9 /srv/mediawiki/php-1.35.0-wmf.23/includes/externalstore/ExternalStoreDB.php(311): ExternalStoreDB->getReplica(string) #10 /srv/mediawiki/php-1.35.0-wmf.23/includes/externalstore/ExternalStoreDB.php(66): ExternalStoreDB->fetchBlob(string, string, boolean) #11 /srv/mediawiki/php-1.35.0-wmf.23/includes/externalstore/ExternalStoreAccess.php(52): ExternalStoreDB->fetchFromURL(string) #12 /srv/mediawiki/php-1.35.0-wmf.23/includes/Storage/SqlBlobStore.php(496): ExternalStoreAccess->fetchFromURL(string, array) #13 /srv/mediawiki/php-1.35.0-wmf.23/includes/libs/objectcache/wancache/WANObjectCache.php(1471): MediaWiki\Storage\SqlBlobStore->MediaWiki\Storage\{closure}(boolean, integer, array, NULL, array) #14 /srv/mediawiki/php-1.35.0-wmf.23/includes/libs/objectcache/wancache/WANObjectCache.php(1314): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array) #15 /srv/mediawiki/php-1.35.0-wmf.23/includes/Storage/SqlBlobStore.php(500): WANObjectCache->getWithSetCallback(string, integer, Closure, array) #16 /srv/mediawiki/php-1.35.0-wmf.23/includes/Storage/SqlBlobStore.php(419): MediaWiki\Storage\SqlBlobStore->expandBlob(string, array, string) #17 /srv/mediawiki/php-1.35.0-wmf.23/includes/Storage/SqlBlobStore.php(286): MediaWiki\Storage\SqlBlobStore->fetchBlobs(array, integer) #18 /srv/mediawiki/php-1.35.0-wmf.23/includes/libs/objectcache/wancache/WANObjectCache.php(1471): MediaWiki\Storage\SqlBlobStore->MediaWiki\Storage\{closure}(boolean, integer, array, NULL, array) #19 /srv/mediawiki/php-1.35.0-wmf.23/includes/libs/objectcache/wancache/WANObjectCache.php(1314): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array) #20 /srv/mediawiki/php-1.35.0-wmf.23/includes/Storage/SqlBlobStore.php(291): WANObjectCache->getWithSetCallback(string, integer, Closure, array) #21 /srv/mediawiki/php-1.35.0-wmf.23/maintenance/fetchText.php(81): MediaWiki\Storage\SqlBlobStore->getBlob(string) #22 /srv/mediawiki/php-1.35.0-wmf.23/maintenance/doMaintenance.php(99): FetchText->execute() #23 /srv/mediawiki/php-1.35.0-wmf.23/maintenance/fetchText.php(100): require_once(string) #24 /srv/mediawiki/multiversion/MWScript.php(101): require_once(string) #25 {main}
Impact
We see that some maintenance scripts have failed.
The code path that leads to the issue however does not seem to be specific to dumps or maintenance in any way. I would imagine it is a general bug in the Rdbms lib that could affect other web requests as well.