Skip to content

Restore original update bulk item request on retry #21221

@areek

Description

@areek

Currently, when we execute a update request as part of bulk,
the update request is translated to a index or delete request
at the shard level for primary execution and the translated request
is set for replica execution. If the shard bulk request throws an exception,
we restore the original version and version type for all bulk item requests
but we don't restore the original update request (instead we use the
translated update request). Opening this issue to figure out how to properly
restore update requests in bulk in case of failure in shard bulk execution.

see #19105 (comment)

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.discussv6.0.3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions