Skip to content

ERROR: duplicate key value violates unique constraint \"allocation_connections_pkey\" #218

@cnlangzi

Description

@cnlangzi

Postgres blocks new connection when it was marked as DeletedConnection in workers (eg CleanupTempFiles).

it is caused by #219

{"code":"connection_write_error","error":"connection_write_error: ERROR: duplicate key value violates unique constraint \"allocation_connections_pkey\" (SQLSTATE 23505)"

if errors.Is(err, gorm.ErrRecordNotFound) {

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions