Last modified: 2013-10-02 16:32:38 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 T56481, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54481 - CirrusSearch: updateSearchIndex.php should remove any index with the same name as the alias that it wants when passed --rebuild
CirrusSearch: updateSearchIndex.php should remove any index with the same nam...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-23 20:28 UTC by Nik Everett
Modified: 2013-10-02 16:32 UTC (History)
2 users (show)

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


Attachments

Description Nik Everett 2013-09-23 20:28:01 UTC
CirrusSearch: updateSearchIndex.php should remove any index with the same name as the alias that it wants when passed --rebuild.  Because we deploy CirrusSearch for the first time to wikis without turning off search updates we sometimes see Elasticsearch autocreate a search index at the alias location.  This change will allow us to build the search index in the right location and grab the alias.  Since we'll be building the index from scratch anyway we don't need the updates that created the alias-named index in the first place.
Comment 1 Nik Everett 2013-09-27 19:56:47 UTC
Lowering priority as we have a solution that will prevent this from happening in the first place: build the index before enabling the plugin on the web servers.
Comment 2 Nik Everett 2013-10-01 18:34:20 UTC
https://gerrit.wikimedia.org/r/#/c/86888/
Comment 3 Nik Everett 2013-10-02 16:32:38 UTC
Merged.

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


Navigation
Links