Page MenuHomePhabricator

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

Description

Error

Request ID: c032e62f71eb06fbe34c1b7a

message
[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
trace
#0 [internal function]: MWExceptionHandler::handleFatalError()
#1 {main}

Impact

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

Notes

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

Event Timeline

Krinkle created this task.Mar 21 2019, 8:32 PM
Restricted Application added a project: Discovery-Search. · View Herald TranscriptMar 21 2019, 8:32 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
debt triaged this task as Normal 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?

EBernhardson added a comment.EditedMar 28 2019, 7:37 PM

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