-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field typesTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearchteam-discuss
Description
Once #37755 is merged we need to ensure backwards compatibility.
With the current state of #37755 there would be no BWC compatiblity, as a 6.7 coordinating node would not know the difference. The sort field would be treated as a regular numeric field.
Also the 6.7 mapping code does not know what type: date_nanos is. I am not sure how a 6.7 would react here.
We could implement a simple safeguard like preventing index creation if the minimum node version is below 7 or we could port the nanosecond conversion logic to 6.7.0. Maybe there are more options that I am not seeing.
Also, this might impact current CCS refactorings.
Metadata
Metadata
Assignees
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field typesTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearchteam-discuss