Skip to content

[BUG] when BulkIngestApi gets a BulkIngestResponse with failed docs > 0, it returns a 200 response #46

@baroquebobcat

Description

@baroquebobcat

Describe the bug

failures later in the preprocessor pipeline that can be propagated back to the client calling into the bulk http endpoint are not represented by http status codes. This can cause data loss if the client isn't inspecting the response even on successes.

Requirements (place an x in each of the [ ])**

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

To Reproduce

Steps to reproduce the behavior:

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Reproducible in:

Astra version:

JVM version:

OS version(s):

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions