Skip to content

Duplicate key error in deletion_queue after post-commit REST catalog failure #226

@sfc-gh-npuka

Description

@sfc-gh-npuka
postgres$ INSERT INTO a values(0);
WARNING:  HTTP request failed (HTTP 429)
INSERT 0 1

postgres$ INSERT INTO a values(1);
ERROR:  duplicate key value violates unique constraint "deletion_queue_pkey"
DETAIL:  Key (path)=(s3://....metadata.json) already exists.
CONTEXT:  SQL statement "insert into lake_engine.deletion_queue
                         (path, table_name, orphaned_at, is_prefix) values ($1,$2,$3,$4)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions