Upgrade Elasticsearch to 9.5.0 - #2416
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 44efc54401
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aa3c59c52f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d75931504e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 74ab19f674
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1cfba76585
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1726e1d340
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9c63bd7c7a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 52cc62c213
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 135ed0b399
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c767edc324
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| setup: | ||
| condition: service_healthy | ||
| image: docker.elastic.co/elasticsearch/elasticsearch:8.19.15 | ||
| image: docker.elastic.co/elasticsearch/elasticsearch:9.5.0 |
There was a problem hiding this comment.
Remove the retired monitoring setting before starting Elasticsearch 9
When docker compose -f docker/docker-compose.apm.yml up starts this service, Elasticsearch 9 rejects the retained xpack.monitoring.collection.enabled=true environment setting at line 79 because legacy internal Stack Monitoring collection and its settings were removed in Elasticsearch 9. The Elasticsearch process therefore exits during settings validation, preventing the APM and Kibana stack from becoming healthy; remove this setting and use Elastic Agent or Metricbeat if monitoring collection is required.
Useful? React with 👍 / 👎.
Summary
mapper-sizeand a dedicated multi-architecture publishing workflow9.4.4andlatesttags only from the default branch; all relevant pushes also publish a deterministic Dockerfile-content tagWhy
This moves Exceptionless to the current 9.4.4 Elastic Stack patch while preserving the documented 8.19.x starting point for a 9.x upgrade and the 8.x client compatibility path.
Compatibility and migration
Elastic.Clients.Elasticsearch8.19.23 through Foundatio.Repositories; the 8.x client is supported against Elasticsearch 9.xmapper-sizeimage starts successfully under both API and full-stack E2E workloadsValidation
9.4.4-sha256-44ca1373771f1f4e539bd0b8c7358cb99b8a1ac83db1dce54482ee2b95b16632version.created=7172899), opened it under 8.19, confirmed the critical pre-8 deprecation, reindexed it (version.created=8537000), cleared generated legacy GeoIP data, and successfully booted the exact 9.4.4 PR image with the original document intactRollout risk
This is a major-version infrastructure upgrade. Elasticsearch cannot downgrade an upgraded data volume. Production and existing self-hosted rollouts must follow the documented 8.19 preflight, take a current snapshot, resolve every Upgrade Assistant blocker, and verify the 9.x cluster before restarting Exceptionless workloads.