OpenSearch/test
Alan Woodward 91e2330529 Warn on badly-formed null values for date and IP field mappers (#62487)
In #57666 we changed when null_value was parsed for ip and date fields. Previously,
the null value was stored as a string, and parsed into a date or InetAddress whenever
a document containing a null value was encountered. Now, the values are parsed when
the mappings are built, which means that bad values are detected up front; if you try and
add a mapping with a badly-parsed ip or date for a null_value, the mapping will be
rejected.

This causes problems for upgrades in the case when you have a badly-formed null_value
in a pre-7.9 cluster. This commit fixes the upgrade case by changing the logic to only
logging a warning on the badly formed value, replicating the earlier behaviour.

Fixes #62363
2020-09-17 16:38:08 +01:00
..
external-modules Add a snapshot test module to delay shard aggregations (#62082) (#62359) 2020-09-15 13:52:38 +02:00
fixtures Add repositories metering API (#62088) 2020-09-08 14:01:04 +02:00
framework Warn on badly-formed null values for date and IP field mappers (#62487) 2020-09-17 16:38:08 +01:00
logger-usage Add snapshot only test modules (#61954) 2020-09-04 16:35:18 -07:00
build.gradle Add snapshot only test modules (#61954) 2020-09-04 16:35:18 -07:00