Project

General

Profile

Actions

Refactor #12484

closed

Remove useless host group counters

Added by Tomer Brisker over 8 years ago. Updated over 7 years ago.

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

Description

Some models (for example, Domains) maintain a hostgroup counter that is not used anywhere and only leads to extra DB work and increased chance of deadlocks.
They should be removed.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #12193: Deadlock occuring when creating hostClosedTomer Brisker10/16/2015Actions
Actions #1

Updated by Tomer Brisker over 8 years ago

  • Status changed from New to Assigned
Actions #2

Updated by Tomer Brisker over 8 years ago

  • Tracker changed from Bug to Refactor
Actions #3

Updated by Tomer Brisker over 7 years ago

  • Related to Bug #12193: Deadlock occuring when creating host added
Actions #4

Updated by Tomer Brisker over 7 years ago

  • Status changed from Assigned to Resolved

All cached counters were removed in the fix to #12193.

Actions

Also available in: Atom PDF