Skip to content

ERROR: duplicate key violates unique constraint "pg_class_relname_nsp_index" #243

Open
@idoelad

Description

@idoelad

When running Embulk on multiple machines that writes to a single RedShift cluster, I often get the following error (usually only on the first few runs):

Error: java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR: duplicate key violates unique constraint "pg_class_relname_nsp_index" (possibly caused by concurrent transaction conflict)

I found these two issues that seems related but both seems to be fixed in versions older than the one I'm using:
#205 #116

Embulk and plugin versions:

Embulk v0.9.11
embulk-input-mysql (0.9.3)
embulk-output-redshift (0.8.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions