Page MenuHomePhabricator

Migrate apifeatureusage to elasticsearch 7
Closed, ResolvedPublic

Description

ApiFeatureUsage, and it's related logstash pipelines, need to be compatible with elastic 6 and 7 while the clusters are being upgraded, and then elastic 7 only once the migration is complete.

Event Timeline

Change 815781 had a related patch set uploaded (by Ebernhardson; author: Ebernhardson):

[operations/puppet@production] apifeatureusage: Write using the _doc mapping type

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

Change 815782 had a related patch set uploaded (by Ebernhardson; author: Ebernhardson):

[operations/puppet@production] apifeatureusage: Adjust index template to use _doc mapping type

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

Change 815783 had a related patch set uploaded (by Ebernhardson; author: Ebernhardson):

[operations/puppet@production] apifeatureusage: Temporarily remove index template during 6->7 transition

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

Change 815784 had a related patch set uploaded (by Ebernhardson; author: Ebernhardson):

[operations/puppet@production] apifeatureusage: Drop mapping type from template

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

Change 815781 merged by Ryan Kemper:

[operations/puppet@production] apifeatureusage: Write using the _doc mapping type

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

Change 815782 merged by Ryan Kemper:

[operations/puppet@production] apifeatureusage: Adjust index template to use _doc mapping type

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

First two patches are merged. The two remaining patches (temporarily remove index template, then drop mapping type from template) will go out as part of the es7 deployment process. I've added them in appropriate places to the es7 rollout plan (T308676)

Change 815783 merged by Ryan Kemper:

[operations/puppet@production] apifeatureusage: Temporarily remove index template during 6->7 transition

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

Change 815784 merged by Bking:

[operations/puppet@production] apifeatureusage: Drop mapping type from template

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