Skip to content

Errored file creation results in a taken ID #332

Description

@tagliala

How to replicate

$ curl -X PUT http://localhost:9240/document/myapp/123456/myfile.txt
{"status":400,"description":"Invalid parameter file"}

$ curl -X PUT http://localhost:9240/document/myapp/123456/myfile.txt
{"status":409,"description":"A document with this doc_id already exists"}

Expected

ID not being taken

Actual

ID taken

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions