Skip to content

MapperBuilderContext#isDataStream is incorrect when handling mapping updates  #110726

Open
@lkts

Description

@lkts

Elasticsearch Version

8.15

Installed Plugins

No response

Java Version

bundled

OS Version


Problem Description

See #110603 (comment).

Steps to Reproduce

  1. Create a time series mode index with default mapping only
  2. Update mapping with {"@timestamp": {"type": "date"}} (or anything really)

For this mapping update isDataStream is false even though it was true when index was created.

Logs (if relevant)

No response

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