Last modified: 2013-11-21 18:30:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59250, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57250 - CirrusSearch: updateOneSearchIndexConfig.php needs to be super careful to catch errors from Elasticsearch
CirrusSearch: updateOneSearchIndexConfig.php needs to be super careful to cat...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nik Everett
cirrus_reenable
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-19 15:04 UTC by Nik Everett
Modified: 2013-11-21 18:30 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nik Everett 2013-11-19 15:04:03 UTC
When I was trying to recover from our bad redundancy I noticed that CirrusSearch would sometimes continue when Elasticsearch failed to apply some change.  I know this error occurred for applying mappings.  Here is an example:

                Validating mapping for page type...different...failed!
Couldn't update mappings.  Here is elasticsearch's error message: RemoteTransportException[[testsearch1001][inet[/10.64.32.138:9300]][indices/mapping/put]]; nested: ProcessClusterEventTimeoutException[failed to process cluster event (put-mapping [page]) within 30s]; 

        Validating aliases...
                Validating content alias...is taken...
                Reindexing...


So far as I can tell the Elasticsearch error was caused by the mixed versions on the Elasticsearch cluster bug but it should have caused Cirrus to stop cold rather than proceed.
Comment 1 Gerrit Notification Bot 2013-11-19 22:19:00 UTC
Change 96383 had a related patch set uploaded by Manybubbles:
Tighter error handling in updateSearchIndex

https://gerrit.wikimedia.org/r/96383
Comment 2 Gerrit Notification Bot 2013-11-20 23:08:09 UTC
Change 96383 merged by jenkins-bot:
Tighter error handling in updateSearchIndex

https://gerrit.wikimedia.org/r/96383

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links