- Newest
- Most votes
- Most comments
When upgrading from OpenSearch 2.9 to OpenSearch 3.1, there are specific upgrade path requirements and potential compatibility issues that need to be addressed.
First, according to the upgrade path requirements, you cannot directly upgrade from OpenSearch 2.9 to OpenSearch 3.1. You must first upgrade to OpenSearch 2.19 before upgrading to OpenSearch 3.1. This is a mandatory intermediate step in the upgrade process.
For troubleshooting the specific incompatibility issues with your indices, there are several approaches you can take:
-
Check for deprecated index settings: While your provided settings don't show the explicitly mentioned deprecated settings, there might be other incompatibilities. OpenSearch 3.1 has several breaking changes from earlier versions.
-
Monitor validation checks: When you initiate a configuration change or version upgrade, OpenSearch Service performs validation checks to ensure your domain is eligible for an update. If these checks fail, you'll receive notifications about specific issues.
-
Use the AWS CLI for more details: You can use the AWS CLI to get more detailed information about the upgrade status:
aws opensearch describe-upgrade --domain-name your-domain-name
- Check cluster health and status: Examine your cluster's health, shard allocation, and pending tasks:
GET _cluster/health?pretty
GET _cat/shards?v
GET _cluster/pending_tasks
- Review CloudWatch logs: Look for OpenSearch service logs in CloudWatch under /aws/aes/domains/your-domain-name for more detailed error information.
If you're still unable to identify the specific incompatibility issues, you may need to contact AWS Support for more detailed information about why your indices are considered incompatible. They can provide specific guidance on what needs to be addressed before the upgrade can proceed.
Remember that the upgrade process involves a blue/green deployment, so ensuring all indices are compatible is crucial for a successful migration.
Sources
Upgrading Amazon OpenSearch Service domains - Amazon OpenSearch Service
Making configuration changes in Amazon OpenSearch Service - Amazon OpenSearch Service
OpenSearch Upgrade Stuck at 60% – Urgent Assistance Required | AWS re:Post
Relevant content
- asked 4 months ago
- AWS OFFICIALUpdated 3 years ago
