mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
## Summary * Address https://github.com/elastic/kibana/issues/217145 - Put in place a check to ensure we're upgrading from Kibana 8.18.0 or newer. * Address https://github.com/elastic/kibana/issues/220521 - New attempt at removing the `switchToModelVersionAt` property, inspired on https://github.com/elastic/kibana/pull/219029. The previous attempt caused a regression: index meta information started storing _modelVersions_ that were older than the previously stored ones, which were defaulting to 10.0.0 for SO types that did NOT define `modelVersions`. This was due to the removal of the applyTypeDefaults, which was ensuring all SOs had the `switchToModelVersionAt` property set. This flag was then used by `src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.ts` to determine whether to use `modelVersions` or the legacy `migrations` property in order to determine the latest model version for a given type. When removing the `switchToModelVersionAt` flag (and its default backfill), the logic started defaulting to the latest `migrations` version for those SO types that were not defining any `modelVersion`, resulting in older versions that those stored in the SO indices. This caused incident https://elasticco.atlassian.net/browse/INC-3818. This regression has been shipped in 9.0.0 (the PR was [backported](https://github.com/elastic/kibana/pull/219329)), so in top of the cleanup, we now need to address https://github.com/elastic/kibana/issues/220521 to ensure a smooth transition _OnPrem => Serverless_. --------- Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
images | ||
add-data-tutorials.md | ||
advanced.md | ||
application-service.md | ||
building-kibana.md | ||
ci-metrics.md | ||
configuration-service.md | ||
contributing.md | ||
core-packages.md | ||
dashboard-enhanced-plugin.md | ||
dependencies-versions.md | ||
development-basepath.md | ||
development-best-practices.md | ||
development-documentation.md | ||
development-getting-started.md | ||
development-github.md | ||
development-plugin-resources.md | ||
development-pull-request.md | ||
development-security.md | ||
development-telemetry.md | ||
development-tests.md | ||
development-visualize-index.md | ||
elasticsearch-service.md | ||
enhanced-embeddables-plugin.md | ||
external-plugin-development.md | ||
external-plugin-functional-tests.md | ||
external-plugin-localization.md | ||
http-service.md | ||
index.md | ||
interpreting-ci-failures.md | ||
kibana-architecture.md | ||
kibana-dashboard-plugin.md | ||
kibana-debugging.md | ||
kibana-expressions-plugin.md | ||
kibana-issue-reporting.md | ||
kibana-linting.md | ||
kibana-navigation.md | ||
kibana-platform-api.md | ||
kibana-platform-plugin-api.md | ||
legacy-url-aliases.md | ||
logging-config-changes.md | ||
logging-service.md | ||
monorepo-packages.md | ||
patterns.md | ||
plugin-list.md | ||
plugin-performance.md | ||
plugin-tooling.md | ||
pr-review.md | ||
reporting-integration.md | ||
running-elasticsearch.md | ||
running-kibana-advanced.md | ||
sample-data.md | ||
saved-objects-service.md | ||
security-best-practices.md | ||
sharing-saved-objects.md | ||
stability.md | ||
testing-kibana-plugin.md | ||
toc.yml | ||
translations-plugin.md | ||
typescript.md | ||
ui-settings-service.md | ||
uiactions-plugin.md | ||
upgrading-nodejs.md |