Page MenuHomePhabricator

CirrusSearch Elasticsearch infrastructure: Turn off index autocreation
Closed, ResolvedPublic

Description

Index autocreation never creates the index properly. The mailing list tells to to turn off a few other things too:

  1. Require explicit index creation ##

action.auto_create_index: false

  1. Protect against accidental close/delete operations
  2. on all indices. You can still close/delete individual
  3. indices ##

action.disable_close_all_indices: true
action.disable_delete_all_indices: true

  1. Disable ability to shutdown nodes via REST API ##

action.disable_shutdown: true

Which all sound good to me. This bug tracks both updating CirrusSearch's README about these and WMF's puppet repository. Also, I'll be testing turning all of these off and making sure CirrusSearch doesn't complain back to the user if the index isn't created yet.


Version: unspecified
Severity: normal

Details

Reference
bz56165

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:35 AM
bzimport added a project: CirrusSearch.
bzimport set Reference to bz56165.
bzimport added a subscriber: Unknown Object (MLST).

Change 91903 had a related patch set uploaded by Manybubbles:
Change Elasticsearch defaults that cause pain/fear

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

Setting back to assigned because I've going to push another patch to review in a few minutes, this one to CirrusSearch's README.

Change 91983 had a related patch set uploaded by Manybubbles:
Add comments about Elasticsearch prod config

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

Change 91903 merged by Ottomata:
Change Elasticsearch defaults that cause pain/fear

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

Change 91983 merged by jenkins-bot:
Add comments about Elasticsearch prod config

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