Project

General

Profile

Actions

Bug #22873

closed

Race condition around host destroy

Added by Justin Sherrill about 6 years ago. Updated almost 6 years ago.

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

Description

  1. PG::ForeignKeyViolation: ERROR: update or delete on table "katello_content_facets" violates foreign key constraint "katello_content_facet_errata_ca_id" on table "katello_content_facet_errata"
  1. DETAIL: Key (id)=(1) is still referenced from table "katello_content_facet_errata".
  1. : DELETE FROM "katello_content_facets" WHERE "katello_content_facets"."content_view_id" = $1 AND "katello_content_facets"."host_id" = 1

Seen via bats tests

Actions

Also available in: Atom PDF