Page MenuHomePhabricator

Fatal "cannot perform this operation with arrays" from Job/ElasticaWrite.php
Closed, DuplicatePublicPRODUCTION ERROR



Request ID: c032e62f71eb06fbe34c1b7a

[c032e62f71eb06fbe34c1b7a] /srv/mediawiki/multiversion/MWScript.php   PHP Fatal Error from line 79 of /srv/mediawiki/php-1.33.0-wmf.22/extensions/CirrusSearch/includes/Job/ElasticaWrite.php: Invalid operand type was used: cannot perform this operation with arrays
#0 [internal function]: MWExceptionHandler::handleFatalError()
#1 {main}


Uncertain. Presumably this means some search-related updates are not being performed. This is generally something that doesn't automatically recover.


It appears to be new regression in 1.33-wmf22, but specific to labswiki (Wikitech), hosts labweb1001 and labweb1002.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
debt triaged this task as Medium priority.Mar 28 2019, 5:13 PM
debt moved this task from needs triage to elastic / cirrus on the Discovery-Search board.

Is labswiki using the sql job queue?

That means this is T124196. The two available fixes are a complete rewrite of the cirrussearch indexing retry pipeline, or changing the job queue to use a non-size limited field type for storing the job params. A bandaid fix might be to compress the data going into and out of the job params field.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:07 PM