Project

General

Profile

Actions

Bug #15729

closed

duplicate key value violates unique constraint "dynflow_coordinator_records_pkey"

Added by Ohad Levy over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

ERROR: duplicate key value violates unique constraint "dynflow_coordinator_records_pkey"
DETAIL: Key (id, class)=(delayed-executor, Dynflow::Coordinator::DelayedExecutorLock) already exists.
STATEMENT: INSERT INTO "dynflow_coordinator_records" ("data", "id", "owner_id", "class") VALUES ('{"class":"Dynflow::Coordinator::DelayedExecutorLock","owner_id":"world:7ad3ee86-6aef-4b9b-9341-789d5439714b","world_id":"7ad3ee86-6aef-4b9b-9341-789d5439714b","id":"delayed-executor"}', 'delayed-executor', 'world:7ad3ee86-6aef-4b9b-9341-789d5439714b', 'Dynflow::Coordinator::DelayedExecutorLock') RETURNING "id"


Related issues 1 (0 open1 closed)

Related to foreman-tasks - Bug #17177: World invalidation can fail, when execution plans are missingClosedIvan Necas11/02/2016Actions
Actions #1

Updated by Adam Ruzicka over 7 years ago

Are there any steps to reproduce this?

Actions #2

Updated by Ivan Necas about 7 years ago

  • Status changed from New to Closed

Closing due to insufficient information. The error itself doesn't have to be an issue by itself: it just means that there is another instance of the delayed executor running, to prevent to have two in the system.

There were some issues with world invalidation, that prevented cleanup of the coordinator locks (such as http://projects.theforeman.org/issues/17177), but
this should be tracked in different issue.

Actions #3

Updated by Ivan Necas about 7 years ago

  • Related to Bug #17177: World invalidation can fail, when execution plans are missing added
Actions

Also available in: Atom PDF