mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 19:13:14 -04:00
## Summary Fix a bug that was causing the cluster to fall into an unrecoverable state if an error occurs during the document migration phase of a `v2` to `zdt` migration (first zdt migration to take over the `v2` algorithm). When an error occurs during the document migration phase, the index gets in a state where `mappingVersions` is present but not `docVersions`, and the algorithm wasn't able to understand what this state was, and considered it to just be a plain `zdt` predecessors, which caused an error when entering the document migration phase, as `docVersions` couldn't be found. This PR addresses this, by properly identifying this specific state, and acting accordingly (by initiating a document migration without checking for the versions in `docVersions`, as we do then coming from a plain v2 algo) |
||
---|---|---|
.. | ||
src | ||
index.ts | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.md | ||
tsconfig.json |
@kbn/core-saved-objects-migration-server-internal
This package contains the internal implementation of core's server-side savedObjects migration feature.