Skip to content

Add more information to bulk failure messages #1170

@jbaiera

Description

@jbaiera

In most cases, when Elasticsearch returns error codes for documents that are part of a bulk operation, the top level message is sufficient to be logged, but in some cases the top level message can be a not very helpful string like "failed to parse".

When a bulk operation fails and we capture information about the failures, we should log as much of the exceptions as we can along with the records that caused them.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions