Migrating to OpenSearch without downtime
This document explains how to migrate the search index from Lucene to OpenSearch while minimizing downtime.
Jira cluster requirements
You need a Jira cluster with two or more nodes running on Lucene, using Jira 11.2 or later. OpenSearch is not supported on earlier Jira versions. For example:
node-anode-b
Migration steps
To migrate from Lucene to OpenSearch:
Add a new dark Jira node configured with OpenSearch to the cluster:
Create a new node (for example,
node-os), but don't include it in the LoadBalancer Jira group.Configure the new node to use OpenSearch in the
jira.propertiesfile.Start Jira on the
node-osnode.
Enable the feature flag
com.atlassian.jira.migrate.lucene.to.opensearch.enabled. More about managing dark features.On
node-os, go to/secure/admin/IndexAdmin.jspaand select Re-index.Add additional Jira nodes as needed (for example,
node-os-aandnode-os-b) to the cluster and the LoadBalancer.Drain and remove
node-aandnode-bfrom the LoadBalancer, then terminate them.
Disable the feature flag
com.atlassian.jira.migrate.lucene.to.opensearch.(Optional) Terminate
node-os.