Skip to content

[Transform] Transform config update conflict gets reported as ResourceAlreadyExistsException #96311

@przemekwitek

Description

@przemekwitek

Elasticsearch Version

main

Installed Plugins

No response

Java Version

bundled

OS Version

MacOS

Problem Description

When there are 2 or more concurrent _update requests issued, one of them may fail with ResourceAlreadyExistsException exception which is misleading.

Steps to Reproduce

  1. Spawn a number of _update requests at the same time
  2. Look at the results of these requests
  3. Observe ResourceAlreadyExistsException being thrown in the case of conflict

Logs (if relevant)

No response

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