Skip to content

Ensure 6.x BWC compatibility when searching indices with nanosecond fields #38028

@spinscale

Description

@spinscale

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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions