Skip to content

Upgrade Elastic Stack 8 to 8.19.21 - #2563

Merged
ejsmith merged 2 commits into
mainfrom
feature/elasticsearch-8-latest
Sep 7, 2026
Merged

Upgrade Elastic Stack 8 to 8.19.21#2563
ejsmith merged 2 commits into
mainfrom
feature/elasticsearch-8-latest

Conversation

@ejsmith

@ejsmith ejsmith commented Sep 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Upgrade the current Elastic Stack from 8.19.15 to 8.19.21, the latest published 8.x patch as of September 6, 2026.
  • Update the custom Elasticsearch image (mapper-size), all-in-one app base, AppHost defaults, Docker Compose/samples, Helm values, and production/dev/monitoring Elasticsearch, Kibana, APM, and Agent version pins.
  • Keep this PR based directly on main, independent of the ES9 base PR Upgrade Elasticsearch to 9.5.3 #2416 and experiment Experiment with ES|QL lookup joins for event and stack queries #2511. No JOIN queries, application schema changes, or index-format reindexing are included.
  • Version-only upgrade following the existing image publication/build process. No workflow, test infrastructure, readiness, port/volume configuration, or unrelated Compose fixes.

Compatibility, security, and rollout

This is an 8.19 patch upgrade; application APIs, queries, index schemas, and the existing Elasticsearch .NET client 8.19.23 are unchanged. No bulk reindex is required by this PR. It is the rollout step before considering Elasticsearch 9, not an authorization to apply production manifests.

The patch includes fixes for Elasticsearch request smuggling, CVE-2026-78605, inference authorization, CVE-2026-78607, and Kibana Fleet authorization, CVE-2026-82302. This is not an exhaustive image vulnerability scan.

Reviewed the intervening 8.19.16–21 release notes. Upstream behavior changes to check for custom deployments: ILM allocation now clears auto-expanded replicas when an explicit replica count is supplied; inference secrets cannot be overridden; Kibana email connectors validate HTTPS-proxy certificates by default. No affected configuration was found in the checked-in application/deployment settings. Preserve TLS verification and supply a trusted proxy certificate where needed.

8.19.21 was released September 2 and is less than two weeks old: use a staging soak, a current restore-tested snapshot, and a controlled ECK rolling upgrade with shard recovery/health checks. Publish/verify the custom 8.19.21 image before applying its deployment pins. Do not downgrade an upgraded data directory or delete volumes; keep the approved snapshot/recovery procedure available. ECK itself is unchanged by this PR.

Verification

  • Before narrowing this PR, the solution build passed and the complete backend suite on isolated custom ES8.19.21 passed (2,927 passed, 3 skipped). The removed infrastructure included seven tests; these results describe the earlier revision, not the final version-only head.
  • Isolated patch-upgrade rehearsal: created an index/document on 8.19.15, restarted against the same dedicated data volume on 8.19.21, and verified the document survived with its original index creation version.
  • Custom ES8.19.21 image and the all-in-one Exceptionless application image built successfully locally.
  • Upstream Elasticsearch amd64/arm64 manifests and companion Kibana/APM/Agent image tags verified.
  • Final diff verified to contain only 8.19.15 → 8.19.21 substitutions. Existing workflows and test infrastructure are unchanged from main.
  • The all-in-one sample retains its pre-existing undefined elasticsearch dependency; its unrelated fix was removed as requested. The other four Compose configurations validate.
  • Hosted CI is being rerun for the narrowed head; earlier green checks do not substitute for this run.

Sources: 8.19.21 release announcement, Elasticsearch 8.19 release notes, Kibana 8.19.21 notes.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-07T04:55:44.953499Z e5077a5 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ejsmith
ejsmith merged commit fb08f53 into main Sep 7, 2026
9 checks passed
@ejsmith
ejsmith deleted the feature/elasticsearch-8-latest branch September 7, 2026 04:55
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.Insulation 37% 35% 286
Exceptionless.Web 85% 70% 8081
Exceptionless.Core 76% 68% 10418
Exceptionless.AppHost 38% 41% 147
Summary 79% (26056 / 33031) 68% (12166 / 17921) 18932

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant