As part of the migration of the CirrusSearch cluster to opensearch 2.x @bking encountered old version indices that are not compatible with opensearch 2.x.
These indices must be re-created with the current 1.x version before we can safely upgrade to 2.x.
The list of index version is at https://docs.google.com/spreadsheets/d/1MYH3SScPgwPUoQv8gTTywOegTcrj-W33uA0Bw1gD3yg
Besides indices owned by search we see:
- ttmserver indices (MediaWiki-extensions-Translate)
- tools hub/list indices (Toolhub)
This task about coordinating efforts to migrate such indices.
- Cirrus wiki indices can simply be reindexed (or dropped in the case of stale indices)
- Cirrus metastore (might no longer be queried at search time once https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CirrusSearch/+/1273690 is shipped and could be deleted/recreated from scratch using cirrus maint scripts)
- System indices (.tasks/.ltr) have to handled separately
- ttmserver indices will have to be reindexed using MW maint script (possibly requiring switching traffic, IIRC reindexing ttmserver can take quite some time)
- toolhub: unclear about the procedure here (perhaps quick enough to reindex that it's fine to have a small downtime?)