elasticsearch/x-pack
Nhat Nguyen 9287f29bba
Fix downsample persistent task params serialization bwc (#106878) (#106896)
Missing a check on the transport version results in unreadable cluster state
if it includes a serialized instance of DownsampleShardTaskParams.
serie indices.
Reading an optional array requires reading a boolean first which is required to
know if an array of values exists in serialized form. From 8.13 on we try to
read such a boolean which is not there because older versions don't write any
boolean nor any string array. Here we include the check on versions for backward
compatibility skipping reading any boolean or array whatsoever whenever not possible.

Customers using downsampling might have cluster states including such serielized
objects and would be unable to upgrade to version 8.13. They will be able to
upgrade to any version including this fix.

This fix has a side effect #106880

Co-authored-by: Salvatore Campagna <93581129+salvatore-campagna@users.noreply.github.com>
2024-03-28 23:51:48 -04:00
..
dev-tools
libs Apply publish plugin to es-opensaml-security-api project (#104933) 2024-01-30 09:04:50 -08:00
license-tools Make some practically static methods static (#97565) 2023-10-06 23:37:07 +02:00
plugin Fix downsample persistent task params serialization bwc (#106878) (#106896) 2024-03-28 23:51:48 -04:00
qa Cleanup SamlAuthenticationIT (#106227) (#106287) 2024-03-13 09:32:55 -04:00
rest-resources-zip
test Add Saml test connection timeout debugging output (#104801) (#106226) 2024-03-13 13:07:11 +01:00
build.gradle Differentiate qa project group ids from in production projects (#96536) 2023-06-05 10:28:13 +02:00
NOTICE.txt
README.md

Elastic License Functionality

This directory tree contains files subject to the Elastic License. The files subject to the Elastic License are grouped in this directory to clearly separate them from files licensed under the Server Side Public License, v 1.