Last modified: 2014-03-04 17:03:33 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 T64079, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62079 - CirrusSearch: add timeouts for searches and for searches
CirrusSearch: add timeouts for searches and for searches
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Highest normal (vote)
: ---
Assigned To: Nik Everett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-28 22:08 UTC by Nik Everett
Modified: 2014-03-04 17:03 UTC (History)
3 users (show)

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


Attachments

Description Nik Everett 2014-02-28 22:08:26 UTC
We currently only have timeouts for updates but we'll need to add them for searches because bad nodes can take out the whole clusters if they sit on the request, say, because they have bad heap settings.

We'll need to set the shard timeout as well so Elasticsearch can timeout those requests.  It is much better for Elasticsearch to timeout the requests because we'll get partial data and, if we timeout and just hit it again, then we can fill its request queues.
Comment 1 Nik Everett 2014-02-28 22:13:58 UTC
Looks like this is what we need on the Elasticsearch side:
timeout
	

A search timeout, bounding the search request to be executed within the specified time value and bail with the hits accumulated up to that point when expired. Defaults to no timeout.
Comment 2 Gerrit Notification Bot 2014-03-03 13:53:52 UTC
Change 116481 had a related patch set uploaded by Manybubbles:
Introduce search timeouts

https://gerrit.wikimedia.org/r/116481
Comment 3 Gerrit Notification Bot 2014-03-03 21:31:13 UTC
Change 116481 merged by jenkins-bot:
Introduce search timeouts

https://gerrit.wikimedia.org/r/116481
Comment 4 Gerrit Notification Bot 2014-03-04 17:02:28 UTC
Change 116757 had a related patch set uploaded by Manybubbles:
Introduce search timeouts

https://gerrit.wikimedia.org/r/116757
Comment 5 Gerrit Notification Bot 2014-03-04 17:03:07 UTC
Change 116757 merged by jenkins-bot:
Introduce search timeouts

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

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


Navigation
Links