Skip to content

scroll timeout cannot be changed in _reindex API #27555

@jimczi

Description

@jimczi

The scroll timeout is set by default to 5 minutes when using the _reindex API. It is possible to change this value when using the java client but not when using the rest API directly.
5 minutes is quite high but if the indexation is slow we can still reach the timeout and fail the entire reindex due to a context missing in the scroll. Since _update_by_query and _delete_by_query can change the default value in the rest API, we should also handle this parameter in _reindex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Distributed Indexing/CRUDA catch all label for issues around indexing, updating and getting a doc by id. Not search.>enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions