Project

General

Profile

Actions

Refactor #33012

closed

Refactor DockerTag cleanup in 20200402130013_add_repsository_docker_meta_tag_f_key

Added by James Jeffers almost 3 years ago. Updated over 2 years ago.

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

Description

Description of problem:

During 6.7 > 6.8 upgrade, foreman-rake db:migrate run 20200402130013_add_repsoitory_docker_meta_tag_f_key which comes from katello.
The migrations script calls:

Katello::RepositoryDockerTag.where.not(:docker_tag_id => Katello::DockerTag.select(:id)).delete_all

and it was hanging forever.

Actions #1

Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9464 added
Actions #2

Updated by James Jeffers almost 3 years ago

  • Target version set to Katello 4.2.0
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.3.0 added
Actions #4

Updated by James Jeffers over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF