Last modified: 2013-11-21 19:03:18 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 T59215, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57215 - CirrusSearch: Fail updates quickly if Elasticsearch is down or otherwise broken
CirrusSearch: Fail updates quickly if Elasticsearch is down or otherwise broken
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Highest normal (vote)
: ---
Assigned To: Nik Everett
cirrus_reenable
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-18 22:42 UTC by Nik Everett
Modified: 2013-11-21 19:03 UTC (History)
4 users (show)

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


Attachments

Description Nik Everett 2013-11-18 22:42:37 UTC
Fail updates quickly if Elasticsearch is down or otherwise broken.  This should include a fail fast pool counter in case we have a bunch of workers and a timeout.  While we're at it we need to make sure that this only effects web users.  Maintenance scripts should just wait.
Comment 1 Nik Everett 2013-11-18 22:45:49 UTC
Oh, and these failures should be invisible to users.  They should be logged but we shouldn't bother users with this.
Comment 2 Nik Everett 2013-11-20 01:14:40 UTC
This will require a change to ElasticaConnection - that class seems to retry connection errors without regards to any overall timeout.
Comment 3 Nik Everett 2013-11-20 15:20:43 UTC
One patch, more coming: https://gerrit.wikimedia.org/r/#/c/96492/
Comment 4 Gerrit Notification Bot 2013-11-20 21:28:38 UTC
Change 96639 had a related patch set uploaded by Manybubbles:
Add timeouts to updates and better log failures

https://gerrit.wikimedia.org/r/96639
Comment 5 Gerrit Notification Bot 2013-11-21 18:58:40 UTC
Change 96639 merged by jenkins-bot:
Add timeouts to updates and better log failures

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

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


Navigation
Links