elasticsearch/server
William Brafford d13368404d
Don't update system index mappings in mixed clusters (#101778)
* Don't update system index mappings in mixed clusters

#99668 seems to have introduced a bug where
SystemIndexMappingUpdateService updates system index mappings
even in mixed clusters. This PR restores the old version-based
check in order to be sure that there's no update until the
cluster is fully upgraded.

The timing of the mapping update seems to be causing worse
problems, corrupting persisted cluster state.

Fixes #99778, #101331

* Remove broken assertion

The compatibility versions objects are not showing up
correctly, so we shouldn't assert on them.
2023-11-03 15:09:30 -04:00
..
licenses
src Don't update system index mappings in mixed clusters (#101778) 2023-11-03 15:09:30 -04:00
build.gradle